slate-react
Version:
Tools for building completely customizable richtext editors with React.
9 lines • 311 B
TypeScript
import { ReactEditor } from '../plugin/react-editor';
export declare const useCompositionDOM: (editor: ReactEditor) => {
observe: () => void;
track: (text: string | null) => void;
pause: () => void;
restore: () => void;
clear: () => void;
};
//# sourceMappingURL=use-composition-dom.d.ts.map