vue-admin-core
Version:
A Component Library for Vue 3
15 lines (14 loc) • 534 B
TypeScript
/**
* @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;