Skip to content

Type Editor


Type Editor / @type-editor/tables / commands/remove-row

commands/remove-row

Functions

FunctionDescription

removeRow

Removes a row at the specified position from a table.

This function handles:

  • Reducing rowspan for cells that span across the removed row
  • Deleting cells that only occupy the removed row
  • Moving cells that start in the removed row but continue below
  • Properly updating position mappings during the operation