@lobehub/editor
Version:
A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.
8 lines (7 loc) • 366 B
TypeScript
import { HeadingTagType } from '@lexical/rich-text';
import { LexicalEditor } from 'lexical';
export declare const INSERT_QUOTE_COMMAND: import("lexical").LexicalCommand<unknown>;
export declare const INSERT_HEADING_COMMAND: import("lexical").LexicalCommand<{
tag: HeadingTagType;
}>;
export declare function registerCommands(editor: LexicalEditor): () => void;