@fileverse-dev/ddoc 2.1.4-patch-9.1 → 2.1.4-patch-9.2

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.
Files changed (2) hide show
  1. package/dist/index.es.js +10 -6
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -141669,7 +141669,7 @@ const bk = sA.getInstance(), D_t = (t) => ({
141669
141669
  }
141670
141670
  }, Pe = (W) => {
141671
141671
  const $ = W.map((Ne) => Gd(Ne));
141672
- kf(S, N4($));
141672
+ kf(S, N4($), "self");
141673
141673
  }, Le = (W) => Array.isArray(W) || typeof W == "string" && !Wie(W), Te = (W) => !W && W !== "";
141674
141674
  He(() => {
141675
141675
  const W = ($) => {
@@ -141680,7 +141680,11 @@ const bk = sA.getInstance(), D_t = (t) => ({
141680
141680
  };
141681
141681
  }, [le, x]), He(() => {
141682
141682
  !Te(e) && le && !U.current && S && (X(!0), queueMicrotask(() => {
141683
- e !== "" && (Le(e) ? Array.isArray(e) ? Pe(e) : kf(S, Gd(e)) : le.commands.setContent(
141683
+ e !== "" && (Le(e) ? Array.isArray(e) ? Pe(e) : kf(
141684
+ S,
141685
+ Gd(e),
141686
+ "self"
141687
+ ) : le.commands.setContent(
141684
141688
  Zie({
141685
141689
  data: e,
141686
141690
  ignoreCorruptedData: k,
@@ -141730,11 +141734,11 @@ const bk = sA.getInstance(), D_t = (t) => ({
141730
141734
  le == null ? void 0 : le.storage.characterCount.characters(),
141731
141735
  le == null ? void 0 : le.storage.characterCount.words()
141732
141736
  ]), He(() => {
141733
- const W = ($) => {
141734
- s == null || s(
141737
+ const W = ($, Ne) => {
141738
+ Ne !== "self" && (s == null || s(
141735
141739
  Y4(tg(S)),
141736
141740
  Y4($)
141737
- );
141741
+ ));
141738
141742
  };
141739
141743
  return S && S.on("update", W), () => {
141740
141744
  S == null || S.off("update", W);
@@ -148396,7 +148400,7 @@ const xWt = ({
148396
148400
  const De = N4(
148397
148401
  ye.map((rt) => Gd(rt))
148398
148402
  );
148399
- return kf(Pn, De), Y4(De);
148403
+ return kf(Pn, De, "self"), Y4(De);
148400
148404
  },
148401
148405
  exportContentAsMarkDown: (ye) => {
148402
148406
  if (vt) {
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.4-patch-9.1",
5
+ "version": "2.1.4-patch-9.2",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {