UNPKG

@wangeditor-next/editor

Version:
21 lines (20 loc) 564 B
/** * @description render paragraph elem * @author wangfupeng */ import { IDomEditor } from '@wangeditor-next/core'; import { Element as SlateElement } from 'slate'; import { VNode } from 'snabbdom'; /** * render paragraph elem * @param elemNode slate elem * @param children children * @param editor editor * @returns vnode */ declare function renderParagraph(elemNode: SlateElement, children: VNode[] | null, _editor: IDomEditor): VNode; export declare const renderParagraphConf: { type: string; renderElem: typeof renderParagraph; }; export {};