Skip to content

Type Editor


Type Editor / @type-editor/tables / commands/merge-cells

commands/merge-cells

Functions

FunctionDescription

mergeCells

Merges the selected cells into a single cell.

This command is only available when:

  • Multiple cells are selected via CellSelection
  • The selected cells' outline forms a proper rectangle
  • No cells partially overlap the selection boundary

The merged cell will contain the combined content of all merged cells.