1
This commit is contained in:
@@ -144,7 +144,21 @@ body {
|
||||
margin: 0;
|
||||
padding: 0
|
||||
}
|
||||
|
||||
/* 空白占位符样式 */
|
||||
.space-char {
|
||||
display: inline;
|
||||
white-space: pre; /* 保留空白 */
|
||||
position: relative;
|
||||
padding-right: 0.15em; /* 视觉间距补偿 */
|
||||
}
|
||||
.space-char:after {
|
||||
content: " ";
|
||||
visibility: hidden;
|
||||
}
|
||||
.space-replaced {
|
||||
display: inline;
|
||||
white-space: normal;
|
||||
}
|
||||
.ql-editor {
|
||||
box-sizing: border-box;
|
||||
line-height: 1.42;
|
||||
@@ -157,19 +171,9 @@ body {
|
||||
text-align: left;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: normal;
|
||||
white-space: normal !important;
|
||||
|
||||
}
|
||||
.word-wrapper {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
}
|
||||
/* 保护重要术语不换行 */
|
||||
.protected-term {
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.ql-editor>* {
|
||||
cursor: text;
|
||||
word-break: normal;
|
||||
|
||||
Reference in New Issue
Block a user