fix: add pre-wrap for line-end space

This commit is contained in:
Steffen Becker committed 2026-08-06 20:46:17 +02:00
1 parent d608771105
commit 6c256c6533
1 file changed
+4
+4
View File
@@ -377,6 +377,10 @@
/* Tab stops every 1.25cm, matching ODF's default tab interval. */
.paper .tiptap {
tab-size: 1.25cm;
/* prosemirror-view sets `break-spaces`, which forbids a line-end space from
hanging into the margin, so lines break one word earlier than in
Word/LibreOffice. `pre-wrap` lets it hang, as they do. */
white-space: pre-wrap;
}
.paper .tiptap h1,