Skip to content

Type Editor


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

commands/add-row

Functions

FunctionDescription

addRow

Adds a row at the given position in a table.

This function handles:

  • Extending cells that span across the insertion point via rowspan
  • Creating new cells with the appropriate type (header or regular)
  • Maintaining table structure integrity