Trevixal API
    Preparing search index...

    Function cellsInSelection

    • The cells a selection covers, as a rectangle of the grid: every row and column between the anchor's cell and the head's, and every cell overlapping them, a cell spanning several rows once. A caret yields just its own cell; a selection that leaves the table yields nothing.

      Parameters

      • state: EditorState

      Returns readonly CellRef[]