@fileverse-dev/ddoc 2.3.3 → 2.3.4

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-CrwBerhR.mjs";
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-BDeTWJWD.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;
@@ -89854,7 +89854,7 @@ async function a5(e, t) {
89854
89854
  });
89855
89855
  return Q === "0x" ? { data: void 0 } : { data: Q };
89856
89856
  } catch (G) {
89857
- const z = Skt(G), { offchainLookup: O, offchainLookupSignature: H } = await import("./ccip-ClrYBYKE.mjs");
89857
+ const z = Skt(G), { offchainLookup: O, offchainLookupSignature: H } = await import("./ccip-Dxo0827_.mjs");
89858
89858
  if (e.ccipRead !== !1 && (z == null ? void 0 : z.slice(0, 10)) === H && x)
89859
89859
  return { data: await O(e, { data: z, to: x }) };
89860
89860
  throw D && (z == null ? void 0 : z.slice(0, 10)) === "0x101bb98d" ? new O7t({ factory: u }) : kQ(G, {
@@ -227836,8 +227836,9 @@ const Etn = ({
227836
227836
  "aiAutocomplete",
227837
227837
  ...cee
227838
227838
  ].includes(Z.name)
227839
- )
227840
- }), []), G = Ve(async () => {
227839
+ ),
227840
+ editable: !s
227841
+ }), [s]), G = Ve(async () => {
227841
227842
  if (!e) return;
227842
227843
  if (!s && e.view.dom.querySelector(".is-editor-empty")) {
227843
227844
  t(), o == null || o("Cannot enter presentation mode with empty content");
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-CrwBerhR.mjs";
1
+ import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-BDeTWJWD.mjs";
2
2
  export {
3
3
  d as DdocEditor,
4
4
  r as Editor,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "2.3.3",
5
+ "version": "2.3.4",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {