@fileverse-dev/ddoc 2.1.9-headingLinks-patch-2 → 2.1.9-headingLinks-patch-3

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 l, g as m, s as y, d as k, i as b, c as L, a as O, e as E, H as h, b as x } from "./index-DYEm5wm5.mjs";
1
+ import { B as l, g as m, s as y, d as k, i as b, c as L, a as O, e as E, H as h, b as x } from "./index-CyBGKR4u.mjs";
2
2
  class M extends l {
3
3
  constructor({ callbackSelector: r, cause: a, data: o, extraData: i, sender: d, urls: t }) {
4
4
  var n;
@@ -87022,7 +87022,7 @@ async function L6(t, e) {
87022
87022
  });
87023
87023
  return ie === "0x" ? { data: void 0 } : { data: ie };
87024
87024
  } catch (q) {
87025
- const G = b8t(q), { offchainLookup: V, offchainLookupSignature: Q } = await import("./ccip-BcmgVrcS.mjs");
87025
+ const G = b8t(q), { offchainLookup: V, offchainLookupSignature: Q } = await import("./ccip-CVGvsDA6.mjs");
87026
87026
  if (t.ccipRead !== !1 && (G == null ? void 0 : G.slice(0, 10)) === Q && k)
87027
87027
  return { data: await V(t, { data: G, to: k }) };
87028
87028
  throw N && (G == null ? void 0 : G.slice(0, 10)) === "0x101bb98d" ? new A5t({ factory: u }) : aK(q, {
@@ -137860,8 +137860,9 @@ const bb = ak.getInstance(), HHt = (t) => ({
137860
137860
  }
137861
137861
  );
137862
137862
  if (!Te) return;
137863
- console.log(Te == null ? void 0 : Te.innerHTML);
137864
- const Be = NQ(Te == null ? void 0 : Te.innerHTML), Ke = $ == null ? void 0 : $.split("-").slice(0, -1).join("-");
137863
+ const Be = NQ(
137864
+ Te == null ? void 0 : Te.textContent
137865
+ ), Ke = $ == null ? void 0 : $.split("-").slice(0, -1).join("-");
137865
137866
  Be !== Ke && (J.set("heading", `${Be}-${X}`), window.location.hash = J.toString());
137866
137867
  const $e = W.view.posAtDOM(Te, 0), mt = W.view.state.tr;
137867
137868
  mt.setSelection(new ht(mt.doc.resolve($e))), W.view.dispatch(mt);
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as d, P as r, h as s, u as t } from "./index-DYEm5wm5.mjs";
1
+ import { D as d, P as r, h as s, u as t } from "./index-CyBGKR4u.mjs";
2
2
  export {
3
3
  d as DdocEditor,
4
4
  r as PreviewDdocEditor,
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.1.9-headingLinks-patch-2",
5
+ "version": "2.1.9-headingLinks-patch-3",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {