feat: table margin edge resize

This commit is contained in:
Steffen Becker committed 2026-07-31 17:46:26 +02:00
1 parent f7c0e1ed1e
commit ca4fbd422b
11 files changed
+494 -78

No files matched your search

+8 -1
View File
@@ -459,7 +459,8 @@
• padding → export emits fo:padding 0.1cm per cell (CELL_PADDING).
Tables are wrapped in <div class="tableWrapper"> by TipTap's node view. */
.paper .tiptap .tableWrapper {
/* The exported table style carries no margin (nor do Word/LO tables). */
/* Default is flush with the text area; a dragged outer edge sets an inline
margin-left/-right here (tableView.ts), which is what the export writes. */
margin: 0;
overflow-x: auto;
}
@@ -533,6 +534,12 @@
pointer-events: none;
}
/* The table's outer left edge: same handle, mirrored to the cell's left side. */
.paper .tiptap .column-resize-handle.left {
left: -2px;
right: auto;
}
.paper .tiptap .column-resize-dragging {
/* Suppress text-selection flicker while dragging a column border. */
user-select: none;