@worktile/theia 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/worktile-theia.umd.js +1 -1
- package/bundles/worktile-theia.umd.js.map +1 -1
- package/esm2015/plugins/quick-insert/components/quick-insert.component.js +2 -2
- package/fesm2015/worktile-theia.js +1 -1
- package/fesm2015/worktile-theia.js.map +1 -1
- package/package.json +1 -1
- package/styles/editor.scss +3 -4
- package/styles/typo.scss +6 -0
package/package.json
CHANGED
package/styles/editor.scss
CHANGED
|
@@ -130,10 +130,6 @@ $thy-icon-nav-link-margin-right: 5px;
|
|
|
130
130
|
|
|
131
131
|
.leaf-with-placeholder {
|
|
132
132
|
background-color: $white;
|
|
133
|
-
|
|
134
|
-
&[data-slate-leaf=true] {
|
|
135
|
-
width: 12em;;
|
|
136
|
-
}
|
|
137
133
|
}
|
|
138
134
|
[data-slate-placeholder] {
|
|
139
135
|
color: initial;
|
|
@@ -141,6 +137,9 @@ $thy-icon-nav-link-margin-right: 5px;
|
|
|
141
137
|
font-style: initial;
|
|
142
138
|
text-decoration: initial;
|
|
143
139
|
background-color: initial;
|
|
140
|
+
overflow: hidden;
|
|
141
|
+
text-overflow: ellipsis;
|
|
142
|
+
white-space: nowrap;
|
|
144
143
|
}
|
|
145
144
|
|
|
146
145
|
// list: fontSize, li marginLeft, multiDigit li marginLeft
|
package/styles/typo.scss
CHANGED
|
@@ -220,6 +220,12 @@ $font-size-line-height: 1.5;
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
+
// 处理混排时 placeholder 的样式
|
|
224
|
+
.slate-element-paragraph {
|
|
225
|
+
white-space: pre-wrap;
|
|
226
|
+
overflow: hidden;
|
|
227
|
+
}
|
|
228
|
+
|
|
223
229
|
|
|
224
230
|
// 处理相邻图文混排时的布局
|
|
225
231
|
[layout^="wrap-"] + [layout^="wrap-"] + .slate-block {
|