Merge pull request #7527 from penpot/ladybenko-12329-break-editor-word

🐛 Make internal DOM of text editor v2 break words as the render engine does
This commit is contained in:
Elena Torró
2025-10-21 09:41:15 +02:00
committed by GitHub

View File

@@ -37,7 +37,6 @@
[data-itype="inline"] { [data-itype="inline"] {
line-break: auto; line-break: auto;
line-height: inherit; line-height: inherit;
overflow-wrap: initial;
caret-color: var(--text-editor-caret-color); caret-color: var(--text-editor-caret-color);
} }
@@ -48,15 +47,6 @@
} }
} }
// Grow type
.grow-type-fixed,
.grow-type-auto-height {
[data-itype="inline"],
[data-itype="paragraph"] {
white-space: break-spaces;
}
}
.grow-type-auto-width { .grow-type-auto-width {
[data-itype="inline"], [data-itype="inline"],
[data-itype="paragraph"] { [data-itype="paragraph"] {