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.

14 lines (13 loc) 551 B
import { InsertTableCommandPayloadHeaders } from '@lexical/table'; import { LexicalEditor } from 'lexical'; export declare const INSERT_TABLE_COMMAND: import("lexical").LexicalCommand<{ columns: string; includeHeaders?: InsertTableCommandPayloadHeaders | undefined; rows: string; }>; export declare const SELECT_TABLE_COMMAND: import("lexical").LexicalCommand<{ columnIndex?: number | undefined; rowIndex?: number | undefined; table: string; }>; export declare function registerTableCommand(editor: LexicalEditor): () => void;