UNPKG

@lobehub/editor

Version:

A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.

10 lines (9 loc) 439 B
import { LexicalEditor } from 'lexical'; export declare const INSERT_CODEMIRROR_COMMAND: import("lexical").LexicalCommand<unknown>; export declare const SELECT_BEFORE_CODEMIRROR_COMMAND: import("lexical").LexicalCommand<{ key: string; }>; export declare const SELECT_AFTER_CODEMIRROR_COMMAND: import("lexical").LexicalCommand<{ key: string; }>; export declare function registerCodeMirrorCommand(editor: LexicalEditor): () => void;