UNPKG

@wangeditor-next/editor

Version:
19 lines (18 loc) 607 B
/** * @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 {};