@lobehub/editor
Version:
A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.
14 lines (13 loc) • 471 B
TypeScript
import { LexicalEditor } from 'lexical';
export declare const INSERT_MATH_COMMAND: import("lexical").LexicalCommand<{
code: string;
}>;
export declare const UPDATE_MATH_COMMAND: import("lexical").LexicalCommand<{
code: string;
key: string;
}>;
export declare const SELECT_MATH_SIDE_COMMAND: import("lexical").LexicalCommand<{
key: string;
prev?: boolean | undefined;
}>;
export declare function registerMathCommand(editor: LexicalEditor): () => void;