@wangeditor-kai/yjs-for-react
Version:
React specific components/utils for wangeditor-next-yjs.
16 lines (15 loc) • 424 B
TypeScript
/**
* @description pre parse html
* @author wangfupeng
*/
import { DOMElement } from '../utils/dom';
/**
* pre-prase table ,去掉 <tbody> 和处理单元格中的 <p> 标签,以及删除隐藏的单元格
* @param table table elem
*/
declare function preParse(tableElem: DOMElement): DOMElement;
export declare const preParseTableHtmlConf: {
selector: string;
preParseHtml: typeof preParse;
};
export {};