UNPKG

@wangeditor-next/code-highlight

Version:
11 lines (10 loc) 283 B
/** * @description slate 插件 - dom 相关 * @author wangfupeng */ import { Editor } from 'slate'; import { IDomEditor } from '../..'; /** * `withDOM` adds DOM specific behaviors to the editor. */ export declare const withDOM: <T extends Editor>(editor: T) => T & IDomEditor;