@tiptap-pro/extension-pages-tablekit Changelog
Changelog for @tiptap-pro/extension-pages-tablekit
0.2.2
Patch Changes
- 239a2f1: - Fix table editor commands not updating the visual row layout when cells are added, removed, or merged. The
TableRowNodeView now refreshes its grid layout from the current row node on every update (previously it kept reading the stale node captured at creation), and merged cells now emitgrid-column: span Nso they occupy the correct number of grid tracks under the Pages grid-based row layout.- Column drags now update row widths live during the drag, instead of snapping to the new width on release. A new
PagesTableView(also exported, for advanced overrides) mirrors the column-resize plugin's mid-drag<col>width updates onto each row's grid-template-columns. - Adding or deleting rows and columns on a resized table now preserves the column widths and keeps
<colgroup>in sync with the row cell count (previously a new row reverted to equal-width tracks, and adding a column left an extra cell wrapping into a second grid line).
- Column drags now update row widths live during the drag, instead of snapping to the new width on release. A new
0.2.1
Patch Changes
- Updated dependencies [c189c62]
- @tiptap-pro/extension-convert-kit@0.1.1
0.2.0
Minor Changes
-
830279c: PagesTableKit — table row grid and height refinements:
- TableRow grid columns now use
minmax(0, Nfr)when every cell has acolwidth— this preserves relative column proportions while guaranteeing the row fits the page content area. Fixes DOCX imports where the author drew tables wider than the printable area and the column-width sum overflowed the page. - Mixed rows (some cells carry
colwidth, others do not) fall back to fixedpxfor sized cells and1frfor unsized cells. - TableRow height now branches on the
heightRuleattribute —exactemitsheight+ the--tr-heightcustom property (hard clipping preserved),atLeastand unset values emitmin-heightso narrower columns can push the row taller instead of clipping content. Mirrors the ConvertKitrenderHTMLbehaviour inside the NodeView.
Pages — table row overflow containment:
- The Pages stylesheet now applies
max-width: 100%,min-width: 0, andoverflow-x: hiddento<tr>elements, plusmin-width: 0on cells. Contains DOCX-imported tables whose declared widths exceed the page content area so they no longer spill past the page edge.
- TableRow grid columns now use
Patch Changes
- Updated dependencies [830279c]
- @tiptap-pro/extension-convert-kit@0.1.0
0.1.0
Minor Changes
- 4f38179: Release of PageKit and TableKit as a separate extensions to cleanup Pages extension