Skip to content

TableEditor.getSelectedCell method

TableEditor › getSelectedCell

Unofficial

Get the single cell that fully contains every range of the selection.

Signature:

getSelectedCell(selection: EditorSelection): null | TableCell

Parameters:

ParameterTypeDescription
selectionEditorSelectionThe selection to resolve, relative to the start of the table.

Returns: null | TableCellThe cell containing the selection, or null if it spans more than one cell.