UNPKG

wangeditor-plugin-formula-plus

Version:
13 lines (12 loc) 424 B
/** * @description parse elem html * @author wangfupeng */ import { DOMElement } from '../utils/dom'; import { IDomEditor, SlateDescendant, SlateElement } from '@wangeditor/editor'; export declare function parseHtml(elem: DOMElement, children: SlateDescendant[], editor: IDomEditor): SlateElement; declare const parseHtmlConf: { selector: string; parseElemHtml: typeof parseHtml; }; export default parseHtmlConf;