UNPKG

@wangeditor-kai/yjs-for-react

Version:

React specific components/utils for wangeditor-next-yjs.

9 lines (8 loc) 299 B
/** * @description helper * @author wangfupeng */ import { IDomEditor } from '@wangeditor-next/core'; import { Node } from 'slate'; export declare function isMenuDisabled(editor: IDomEditor, _mark?: string): boolean; export declare function removeMarks(editor: IDomEditor, textNode: Node): void;