UNPKG

@wangeditor/basic-modules

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