@wangeditor-next/editor
Version:
Web rich text editor, Web 富文本编辑器
21 lines (20 loc) • 564 B
TypeScript
/**
* @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 {};