@fileverse-dev/ddoc 2.1.0-yjs-patch-7 → 2.1.1-patch-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.es.js +10 -4
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -137278,9 +137278,9 @@ function S4t(t) {
|
|
137278
137278
|
return !1;
|
137279
137279
|
try {
|
137280
137280
|
const e = JSON.parse(t);
|
137281
|
-
return typeof e == "object" && e !== null;
|
137282
|
-
} catch
|
137283
|
-
return
|
137281
|
+
return typeof e == "object" && e !== null || Array.isArray(e);
|
137282
|
+
} catch {
|
137283
|
+
return !1;
|
137284
137284
|
}
|
137285
137285
|
}
|
137286
137286
|
const $0 = class $0 {
|
@@ -142633,8 +142633,14 @@ const r5t = (t) => {
|
|
142633
142633
|
/* Images */
|
142634
142634
|
.ProseMirror img {
|
142635
142635
|
max-width: 720px;
|
142636
|
-
height:
|
142636
|
+
max-height: calc(100vh - 96px);
|
142637
|
+
width: auto !important;
|
142638
|
+
height: auto !important;
|
142639
|
+
object-fit: contain;
|
142640
|
+
display: block;
|
142637
142641
|
margin: 16px auto;
|
142642
|
+
position: relative;
|
142643
|
+
box-sizing: border-box;
|
142638
142644
|
}
|
142639
142645
|
|
142640
142646
|
/* Code blocks */
|