UNPKG

vue-admin-core

Version:
15 lines (14 loc) 534 B
/** * @description parse html * @author wangfupeng */ import { SlateDescendant } from "@wangeditor/editor"; import type { IDomEditor } from "@wangeditor/core"; import { ParagraphElement } from "./custom-types"; import type { DOMElement } from "@wangeditor/core/dist/core/src/utils/dom"; declare function parseParagraphHtml(elem: DOMElement, children: SlateDescendant[], editor: IDomEditor): ParagraphElement; declare const _default: { selector: string; parseElemHtml: typeof parseParagraphHtml; }; export default _default;