Open etrepum opened 2 weeks ago
Follow-up to #5534 - there are still references to GridSelection in error messages, comments, and the docs. Two quick examples (not comprehensive!):
packages/lexical-table/src/LexicalTableUtils.ts
export function $insertTableRow__EXPERIMENTAL(insertAfter = true): void { const selection = $getSelection(); invariant( $isRangeSelection(selection) || $isTableSelection(selection), 'Expected a RangeSelection or GridSelection', );
packages/lexical-website/docs/concepts/selection.md
### `GridSelection` GridSelection represents a grid-like selection like tables. It stores the key of the parent node where the selection takes place and the start and end points.
Follow-up to #5534 - there are still references to GridSelection in error messages, comments, and the docs. Two quick examples (not comprehensive!):
packages/lexical-table/src/LexicalTableUtils.ts
packages/lexical-website/docs/concepts/selection.md