@wangeditor-next/editor
Version:
Web rich text editor, Web 富文本编辑器
6 lines (5 loc) • 440 B
TypeScript
import { NodeEntryWithContext } from '../utils';
/** Weak reference between the `Editor` and the selected elements */
export declare const EDITOR_TO_SELECTION: WeakMap<import("slate").BaseEditor, NodeEntryWithContext[][]>;
/** Weak reference between the `Editor` and a set of the selected elements */
export declare const EDITOR_TO_SELECTION_SET: WeakMap<import("slate").BaseEditor, WeakSet<import("packages/custom-types").CustomElement>>;