@fileverse-dev/ddoc 2.4.26 → 2.4.27

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-dMQOarKF.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-B8kc2a5C.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;
@@ -90932,7 +90932,7 @@ async function Vk(e, t) {
90932
90932
  });
90933
90933
  return V === "0x" ? { data: void 0 } : { data: V };
90934
90934
  } catch (B) {
90935
- const j = E$t(B), { offchainLookup: L, offchainLookupSignature: N } = await import("./ccip-BXw9Q_KJ.mjs");
90935
+ const j = E$t(B), { offchainLookup: L, offchainLookupSignature: N } = await import("./ccip-wgyLVE0H.mjs");
90936
90936
  if (e.ccipRead !== !1 && (j == null ? void 0 : j.slice(0, 10)) === N && b)
90937
90937
  return { data: await L(e, { data: j, to: b }) };
90938
90938
  throw S && (j == null ? void 0 : j.slice(0, 10)) === "0x101bb98d" ? new NWt({ factory: c }) : Spe(B, {
@@ -103211,7 +103211,7 @@ const sE = (e) => {
103211
103211
  editorProps: {
103212
103212
  handleKeyDown: (D, S) => {
103213
103213
  var z, R, T, _, M, B;
103214
- if (S.shiftKey && S.ctrlKey && S.key.toLowerCase() === "s" || S.altKey && S.shiftKey && (S.key === "5" || S.key === "%"))
103214
+ if (S.ctrlKey && S.shiftKey && S.code === "KeyX" || S.metaKey && S.shiftKey && S.code === "KeyX")
103215
103215
  return S.preventDefault(), e.chain().focus().toggleStrike().run(), !0;
103216
103216
  if ((S.altKey || S.metaKey) && S.key === "Enter")
103217
103217
  return S.preventDefault(), h(lt.LINK_POPUP), !0;
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-dMQOarKF.mjs";
1
+ import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-B8kc2a5C.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.4.26",
5
+ "version": "2.4.27",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -148,4 +148,4 @@
148
148
  "typescript": "^5.2.2",
149
149
  "vite": "^5.0.0"
150
150
  }
151
- }
151
+ }