Skip to content

Type Editor


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

commands/add-column

Functions

FunctionDescription

addColumn

Adds a column at the given position in a table.

This function handles:

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