@fileverse-dev/ddoc 3.0.36 → 3.0.37
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-
|
|
1
|
+
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-DcsDAsFn.mjs";
|
|
2
2
|
class S extends p {
|
|
3
3
|
constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
|
|
4
4
|
var o;
|
|
@@ -93963,7 +93963,7 @@ async function TF(e, t) {
|
|
|
93963
93963
|
});
|
|
93964
93964
|
return oe === "0x" ? { data: void 0 } : { data: oe };
|
|
93965
93965
|
} catch (O) {
|
|
93966
|
-
const I = IKt(O), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-
|
|
93966
|
+
const I = IKt(O), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-uYgWYocw.mjs");
|
|
93967
93967
|
if (e.ccipRead !== !1 && (I == null ? void 0 : I.slice(0, 10)) === $ && x)
|
|
93968
93968
|
return { data: await H(e, { data: I, to: x }) };
|
|
93969
93969
|
throw _ && (I == null ? void 0 : I.slice(0, 10)) === "0x101bb98d" ? new pZt({ factory: f }) : Sge(O, {
|
|
@@ -134046,7 +134046,7 @@ const _6e = Yt.create({
|
|
|
134046
134046
|
}
|
|
134047
134047
|
}
|
|
134048
134048
|
if ((s == null ? void 0 : s.type.name) === "blockquote" && a.type.name === "paragraph" && a.textContent === "")
|
|
134049
|
-
return e.chain().setDBlock().focus(n +
|
|
134049
|
+
return e.chain().setDBlock().focus(n + 2).setMark("textStyle", i).run();
|
|
134050
134050
|
if ((s == null ? void 0 : s.type.name) !== "dBlock" && f)
|
|
134051
134051
|
return !1;
|
|
134052
134052
|
if ((s == null ? void 0 : s.type.name) === "dBlock") {
|
|
@@ -136922,17 +136922,8 @@ const X3n = zt.create({
|
|
|
136922
136922
|
if (!e.getState(o)) return;
|
|
136923
136923
|
const u = i.content.size, c = s.nodes[this.options.node], d = {
|
|
136924
136924
|
class: "trailing-node"
|
|
136925
|
-
};
|
|
136926
|
-
|
|
136927
|
-
const h = this.editor.getAttributes("textStyle");
|
|
136928
|
-
if (s.marks.textStyle) {
|
|
136929
|
-
const g = s.marks.textStyle.create({
|
|
136930
|
-
...h
|
|
136931
|
-
});
|
|
136932
|
-
f = s.text(" ", [g]);
|
|
136933
|
-
}
|
|
136934
|
-
const p = c.create(d, f);
|
|
136935
|
-
return a.insert(u, p);
|
|
136925
|
+
}, f = c.create(d);
|
|
136926
|
+
return a.insert(u, f);
|
|
136936
136927
|
},
|
|
136937
136928
|
state: {
|
|
136938
136929
|
init: (n, r) => {
|
package/dist/index.es.js
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fileverse-dev/ddoc",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "DDoc",
|
|
5
|
-
"version": "3.0.
|
|
5
|
+
"version": "3.0.37",
|
|
6
6
|
"main": "dist/index.es.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
8
8
|
"exports": {
|
|
@@ -150,4 +150,4 @@
|
|
|
150
150
|
"typescript": "^5.2.2",
|
|
151
151
|
"vite": "^5.0.0"
|
|
152
152
|
}
|
|
153
|
-
}
|
|
153
|
+
}
|