@easyx/editor 2.0.0 → 2.0.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/dist/index.cjs +12 -5
- package/dist/index.js +12 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -154,11 +154,18 @@ var __webpack_modules__ = {
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
.easyx-editor.easyx-editor-scroll .easyx-editor-content {
|
|
157
|
+
flex-direction: column;
|
|
157
158
|
flex: auto;
|
|
158
159
|
min-height: 0;
|
|
160
|
+
display: flex;
|
|
159
161
|
overflow-y: auto;
|
|
160
162
|
}
|
|
161
163
|
|
|
164
|
+
.easyx-editor.easyx-editor-scroll .easyx-editor-content > .ProseMirror {
|
|
165
|
+
flex: 1 0 auto;
|
|
166
|
+
min-height: 0;
|
|
167
|
+
}
|
|
168
|
+
|
|
162
169
|
.easyx-editor-resize-handle {
|
|
163
170
|
cursor: ns-resize;
|
|
164
171
|
z-index: 5;
|
|
@@ -211,21 +218,21 @@ var __webpack_modules__ = {
|
|
|
211
218
|
}
|
|
212
219
|
|
|
213
220
|
.easyx-editor-content {
|
|
214
|
-
padding: var(--easyx-editor-padding);
|
|
215
|
-
min-height: var(--easyx-editor-min-height);
|
|
216
221
|
word-break: break-word;
|
|
217
222
|
outline: none;
|
|
218
223
|
}
|
|
219
224
|
|
|
220
|
-
.easyx-editor-content .ProseMirror {
|
|
225
|
+
.easyx-editor-content > .ProseMirror {
|
|
226
|
+
padding: var(--easyx-editor-padding);
|
|
227
|
+
min-height: var(--easyx-editor-min-height);
|
|
221
228
|
outline: none;
|
|
222
229
|
}
|
|
223
230
|
|
|
224
|
-
.easyx-editor-content > :first-child {
|
|
231
|
+
.easyx-editor-content > .ProseMirror > :first-child {
|
|
225
232
|
margin-top: 0;
|
|
226
233
|
}
|
|
227
234
|
|
|
228
|
-
.easyx-editor-content > :last-child {
|
|
235
|
+
.easyx-editor-content > .ProseMirror > :last-child {
|
|
229
236
|
margin-bottom: 0;
|
|
230
237
|
}
|
|
231
238
|
|
package/dist/index.js
CHANGED
|
@@ -213,11 +213,18 @@ __webpack_require__.add({
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
.easyx-editor.easyx-editor-scroll .easyx-editor-content {
|
|
216
|
+
flex-direction: column;
|
|
216
217
|
flex: auto;
|
|
217
218
|
min-height: 0;
|
|
219
|
+
display: flex;
|
|
218
220
|
overflow-y: auto;
|
|
219
221
|
}
|
|
220
222
|
|
|
223
|
+
.easyx-editor.easyx-editor-scroll .easyx-editor-content > .ProseMirror {
|
|
224
|
+
flex: 1 0 auto;
|
|
225
|
+
min-height: 0;
|
|
226
|
+
}
|
|
227
|
+
|
|
221
228
|
.easyx-editor-resize-handle {
|
|
222
229
|
cursor: ns-resize;
|
|
223
230
|
z-index: 5;
|
|
@@ -270,21 +277,21 @@ __webpack_require__.add({
|
|
|
270
277
|
}
|
|
271
278
|
|
|
272
279
|
.easyx-editor-content {
|
|
273
|
-
padding: var(--easyx-editor-padding);
|
|
274
|
-
min-height: var(--easyx-editor-min-height);
|
|
275
280
|
word-break: break-word;
|
|
276
281
|
outline: none;
|
|
277
282
|
}
|
|
278
283
|
|
|
279
|
-
.easyx-editor-content .ProseMirror {
|
|
284
|
+
.easyx-editor-content > .ProseMirror {
|
|
285
|
+
padding: var(--easyx-editor-padding);
|
|
286
|
+
min-height: var(--easyx-editor-min-height);
|
|
280
287
|
outline: none;
|
|
281
288
|
}
|
|
282
289
|
|
|
283
|
-
.easyx-editor-content > :first-child {
|
|
290
|
+
.easyx-editor-content > .ProseMirror > :first-child {
|
|
284
291
|
margin-top: 0;
|
|
285
292
|
}
|
|
286
293
|
|
|
287
|
-
.easyx-editor-content > :last-child {
|
|
294
|
+
.easyx-editor-content > .ProseMirror > :last-child {
|
|
288
295
|
margin-bottom: 0;
|
|
289
296
|
}
|
|
290
297
|
|