@wangeditor-next/editor
Version:
Web rich text editor, Web 富文本编辑器
19 lines (18 loc) • 607 B
TypeScript
/**
* @description render elem
* @author wangfupeng
*/
import { IDomEditor } from '@wangeditor-next/core';
import { Element as SlateElement } from 'slate';
import { VNode } from 'snabbdom';
declare function renderPre(_elemNode: SlateElement, children: VNode[] | null, _editor: IDomEditor): VNode;
declare function renderCode(_elemNode: SlateElement, children: VNode[] | null, _editor: IDomEditor): VNode;
export declare const renderPreConf: {
type: string;
renderElem: typeof renderPre;
};
export declare const renderCodeConf: {
type: string;
renderElem: typeof renderCode;
};
export {};