@fileverse-dev/ddoc 1.2.7 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +6 -4
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -16787,7 +16787,7 @@ const Ku = {
|
|
16787
16787
|
}
|
16788
16788
|
),
|
16789
16789
|
/* @__PURE__ */ I.jsx("div", { className: "w-px h-4 bg-gray-400 mx-2" }),
|
16790
|
-
s.map((o) => o ? /* @__PURE__ */ I.jsx(
|
16790
|
+
s.map((o, a) => o ? /* @__PURE__ */ I.jsx(
|
16791
16791
|
"div",
|
16792
16792
|
{
|
16793
16793
|
className: "tooltip tooltip-bottom",
|
@@ -16805,7 +16805,7 @@ const Ku = {
|
|
16805
16805
|
)
|
16806
16806
|
},
|
16807
16807
|
o.title
|
16808
|
-
) : /* @__PURE__ */ I.jsx("div", { className: "w-px h-4 bg-gray-400 mx-2" })),
|
16808
|
+
) : /* @__PURE__ */ I.jsx("div", { className: "w-px h-4 bg-gray-400 mx-2" }, a)),
|
16809
16809
|
t === Te.FONT_FAMILY && /* @__PURE__ */ I.jsx(
|
16810
16810
|
qF,
|
16811
16811
|
{
|
@@ -51640,8 +51640,10 @@ const mK = async (n, e) => {
|
|
51640
51640
|
x == null || x.chain().focus();
|
51641
51641
|
}, []), je(() => {
|
51642
51642
|
x == null || x.setEditable(!n);
|
51643
|
-
}, [n]), je(() => {
|
51644
|
-
e && x && (
|
51643
|
+
}, [n, x]), je(() => {
|
51644
|
+
e && x && setTimeout(() => {
|
51645
|
+
x == null || x.commands.setContent(e.editorJSONData), l(e.metaData);
|
51646
|
+
});
|
51645
51647
|
}, [e, x]);
|
51646
51648
|
const w = async () => {
|
51647
51649
|
if (!i)
|