mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
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:
@@ -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"] {
|
||||
|
||||
Reference in New Issue
Block a user