1
This commit is contained in:
@@ -156,7 +156,10 @@ body {
|
|||||||
-moz-tab-size: 4;
|
-moz-tab-size: 4;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-wrap: break-word
|
word-wrap: break-word; /* 兼容旧浏览器 */
|
||||||
|
overflow-wrap: break-word; /* 优先在空格处换行,避免单词拆分 */
|
||||||
|
word-break: normal; /* 禁止强制拆分单词 */
|
||||||
|
hyphens: auto; /* 可选:超长单词用连字符换行(更优雅) */
|
||||||
}
|
}
|
||||||
|
|
||||||
.ql-editor>* {
|
.ql-editor>* {
|
||||||
@@ -563,15 +566,27 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ql-editor .ql-size-small {
|
.ql-editor .ql-size-small {
|
||||||
font-size: .75em
|
font-size: .75em;
|
||||||
|
word-wrap: break-word; /* 兼容旧浏览器 */
|
||||||
|
overflow-wrap: break-word; /* 优先在空格处换行,避免单词拆分 */
|
||||||
|
word-break: normal; /* 禁止强制拆分单词 */
|
||||||
|
hyphens: auto; /* 可选:超长单词用连字符换行(更优雅) */
|
||||||
}
|
}
|
||||||
|
|
||||||
.ql-editor .ql-size-large {
|
.ql-editor .ql-size-large {
|
||||||
font-size: 1.5em
|
font-size: 1.5em;
|
||||||
|
word-wrap: break-word; /* 兼容旧浏览器 */
|
||||||
|
overflow-wrap: break-word; /* 优先在空格处换行,避免单词拆分 */
|
||||||
|
word-break: normal; /* 禁止强制拆分单词 */
|
||||||
|
hyphens: auto; /* 可选:超长单词用连字符换行(更优雅) */
|
||||||
}
|
}
|
||||||
|
|
||||||
.ql-editor .ql-size-huge {
|
.ql-editor .ql-size-huge {
|
||||||
font-size: 2.5em
|
font-size: 2.5em;
|
||||||
|
word-wrap: break-word; /* 兼容旧浏览器 */
|
||||||
|
overflow-wrap: break-word; /* 优先在空格处换行,避免单词拆分 */
|
||||||
|
word-break: normal; /* 禁止强制拆分单词 */
|
||||||
|
hyphens: auto; /* 可选:超长单词用连字符换行(更优雅) */
|
||||||
}
|
}
|
||||||
|
|
||||||
.ql-editor .ql-direction-rtl {
|
.ql-editor .ql-direction-rtl {
|
||||||
|
|||||||
Reference in New Issue
Block a user