Skip to content

Type Editor


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

commands/remove-column

Functions

FunctionDescription

removeColumn

Removes a column at the specified position from a table.

This function handles:

  • Reducing colspan for cells that span across the removed column
  • Deleting cells that only occupy the removed column
  • Properly updating position mappings during the operation