Wrap long ProseMirror paragraph content

Add paragraph-level word breaking so long single-line filter expressions do not overflow the editor layout.
This commit is contained in:
lin onetwo 2026-04-30 09:32:13 +08:00
parent a7106e3341
commit e860163fff

View file

@ -18,6 +18,9 @@ tags: $:/tags/Stylesheet
.ProseMirror p {
margin: 0.5em 0;
overflow-wrap: break-word;
word-break: break-word;
max-width: 100%;
}
.ProseMirror p:first-child {
@ -107,4 +110,3 @@ html[dir="rtl"] .ProseMirror {
.ProseMirror .pm-definition-list dd {
margin-left: 1.5em;
}