@fileverse-dev/ddoc 1.7.3 → 1.7.4-patch
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -20064,7 +20064,7 @@ const SN = [
|
|
20064
20064
|
{ color: "#4B0082", code: "bg-[#4B0082]" },
|
20065
20065
|
{ color: "#6A5ACD", code: "bg-[#6A5ACD]" }
|
20066
20066
|
], lh = 1024 * 100, hA = {
|
20067
|
-
IMAGE_SIZE: "Image size should be less than
|
20067
|
+
IMAGE_SIZE: "Image size should be less than 100KB"
|
20068
20068
|
}, s2 = ({
|
20069
20069
|
editor: t,
|
20070
20070
|
onError: e
|
@@ -59515,8 +59515,8 @@ const Lle = kt.create({
|
|
59515
59515
|
}
|
59516
59516
|
},
|
59517
59517
|
autofocus: "start",
|
59518
|
-
onTransaction: (D) => {
|
59519
|
-
|
59518
|
+
onTransaction: ({ editor: D, transaction: M }) => {
|
59519
|
+
D != null && D.isEmpty || M.docChanged && (o == null || o(D.getJSON()));
|
59520
59520
|
},
|
59521
59521
|
shouldRerenderOnTransaction: !0,
|
59522
59522
|
immediatelyRender: !1
|