fable-editor 1.2.8 → 1.3.0
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/angular/core/editor.d.ts +34 -0
- package/dist/angular/core/word-image-paste.d.ts +27 -0
- package/dist/angular/esm2022/core/editor.mjs +201 -5
- package/dist/angular/esm2022/core/word-image-paste.mjs +189 -0
- package/dist/angular/fesm2022/fable-editor.mjs +388 -4
- package/dist/angular/fesm2022/fable-editor.mjs.map +1 -1
- package/dist/core/editor.css +14 -0
- package/dist/core/editor.d.ts +34 -0
- package/dist/core/editor.d.ts.map +1 -1
- package/dist/core/index.cjs +4 -4
- package/dist/core/index.mjs +980 -759
- package/dist/core/word-image-paste.d.ts +28 -0
- package/dist/core/word-image-paste.d.ts.map +1 -0
- package/dist/react/index.cjs +11 -11
- package/dist/react/index.mjs +1107 -886
- package/package.json +1 -1
- package/style.css +14 -0
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -358,6 +358,20 @@
|
|
|
358
358
|
height: auto;
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
+
/* the preview dialog mounts on document.body, outside .earea, so it needs
|
|
362
|
+
the same clamping or an image previews at its raw pixel size */
|
|
363
|
+
.dlg .pv-box img, .dlg .pv-box video {
|
|
364
|
+
max-width: 100%;
|
|
365
|
+
height: auto;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/* preview is sized to the editor's own content column so what it shows is
|
|
369
|
+
the size that will actually be sent; that needs more room than the
|
|
370
|
+
standard dialog cap allows */
|
|
371
|
+
.dlg.dlg-preview {
|
|
372
|
+
max-width: 96vw;
|
|
373
|
+
}
|
|
374
|
+
|
|
361
375
|
/* image / video upload placeholder */
|
|
362
376
|
.earea .img-ph {
|
|
363
377
|
display: flex;
|