@wangeditor-kai/yjs-for-react
Version:
React specific components/utils for wangeditor-next-yjs.
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>>;