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
commit 7a2fe232d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,6 @@
[data-itype="inline"] {
line-break: auto;
line-height: inherit;
overflow-wrap: initial;
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 {
[data-itype="inline"],
[data-itype="paragraph"] {