Skip to content

Type Editor


Type Editor / @type-editor/tables / commands/selected-rect

commands/selected-rect

Functions

FunctionDescription

selectedRect

Gets the selected rectangular region in a table.

This helper function determines the selection bounds and adds table map, table node, and table start offset to the result for convenience.

Throws

Error if not within a table (use isInTable() first)