@wangeditor-next/editor
Version:
Web rich text editor, Web 富文本编辑器
15 lines (14 loc) • 488 B
TypeScript
/**
* @description parse html
* @author wangfupeng
*/
import { IDomEditor } from '@wangeditor-next/core';
import { Descendant } from 'slate';
import { DOMElement } from '../../utils/dom';
import { ParagraphElement } from './custom-types';
declare function parseParagraphHtml(elem: DOMElement, children: Descendant[], editor: IDomEditor): ParagraphElement;
export declare const parseParagraphHtmlConf: {
selector: string;
parseElemHtml: typeof parseParagraphHtml;
};
export {};