@lobehub/editor
Version:
A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.
9 lines (8 loc) • 524 B
TypeScript
import { TableDOMCell, TableSelection } from '@lexical/table';
import { TableDOMTable } from '@lexical/table/LexicalTableObserver';
import { LexicalEditor, LexicalNode, RangeSelection } from 'lexical';
export declare function $forEachTableCell(grid: TableDOMTable, cb: (cell: TableDOMCell, lexicalNode: LexicalNode, cords: {
x: number;
y: number;
}) => void): void;
export declare function $updateDOMForSelection(editor: LexicalEditor, table: TableDOMTable, selection: TableSelection | RangeSelection | null): void;