fix: add pre-wrap for line-end space
This commit is contained in:
1 parent
d608771105
commit
6c256c6533
1 file changed
+4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user