Skip to content

TableEditor.applyCellUpdates method

TableEditor › applyCellUpdates

Unofficial

Apply pending cell content updates to the document.

Signature:

applyCellUpdates(tr: Transaction, cellMap: Map<TableCell, TableCellChange[]>, offset: number): void

Parameters:

ParameterTypeDescription
trTransactionThe transaction the updates came from.
cellMapMap<TableCell, TableCellChange[]>Map of cells to the changes made within them, relative to each cell's start.
offsetnumberOffset introduced by a change to the alignment row.

Returns: void