Tables

Insertion, contextual controls and GFM preservation.

1.0.0-beta.6 · Local build · desktop

Insert and activate

Use insertTable or the table toolbar button in Base/Pro. A new API table defaults to 3×3 with a header row; integer dimensions range from 1 to 20. Entering an existing table cell activates contextual tools instead of inserting another table.

Contextual panel

Add/delete rows and columns, toggle the header row or delete the table. The table button acts as a mode: deactivate it to hide controls while leaving the table content intact. The contextual controls cannot be dragged into the main builder toolbar individually.

Formats

GFM imports and exports supported simple tables and column alignment. HTML supports headers, colspan/rowspan in the accepted range and validates the grid. Arbitrary merges or rich CSS layout cannot be represented exactly in Markdown; loss requires confirmation.

Limitations

Interactive cell merging and mouse resizing are not implemented. Tables participate in the canonical document history, selection and revision checks. UI feature flags do not change the schema. Markdown, methods.

editor.insertTable(3, 2, true);
editor.execute('addRowAfter');
editor.execute('addColumnAfter');
editor.execute('toggleHeaderRow');

Search documentation

No results. Try different words.

All documentation