UNPKG

@wangeditor-next/code-highlight

Version:
9 lines (8 loc) 239 B
/** * @description text -> html * @author wangfupeng */ import { Text } from 'slate'; import { IDomEditor } from '../editor/interface'; declare function textToHtml(textNode: Text, editor: IDomEditor): string; export default textToHtml;