v0.12.0-beta.12
Pre-releaseDelta since previous beta (v0.12.0-beta.11) — 1 new changeset.
Patch Changes
-
Fixed: placing the cursor in a table cell no longer pushes the whole document down. The invisible positioning layer for the table's column/row handle pills (
ok-table-cell-handle-layer) claimed its own row in the editor's layout grid, and on documents shorter than the window that empty row was stretched to an equal share of the leftover height — a blank band appeared above the document whenever a table was focused. The layer is now pinned into the content's own grid row at zero height, so the handle pills render in exactly the same place with no layout shift.For maintainers — mechanism:
.tiptap-editoris a CSS grid with implicit auto rows, and the defaultalign-content: stretchdistributes leftover block-size equally across in-flow auto tracks; any zero-height direct child still generates a stretchable track. The layer now carriesgrid-row: 1; align-self: start, and.tiptap-editor-portal-contentdeclaresgrid-row: 1explicitly so auto-placement doesn't bump the editor body to row 2.