@fileverse-dev/ddoc 2.2.8-tec-374-1 → 2.2.8-tec-374-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.
@@ -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-ptIvF__n.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-D2pS1zIo.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;
@@ -86505,7 +86505,7 @@ async function o6(e, t) {
86505
86505
  });
86506
86506
  return K === "0x" ? { data: void 0 } : { data: K };
86507
86507
  } catch (U) {
86508
- const P = hxt(U), { offchainLookup: _, offchainLookupSignature: G } = await import("./ccip-DAvA7JMX.mjs");
86508
+ const P = hxt(U), { offchainLookup: _, offchainLookupSignature: G } = await import("./ccip-415rvaRm.mjs");
86509
86509
  if (e.ccipRead !== !1 && (P == null ? void 0 : P.slice(0, 10)) === G && k)
86510
86510
  return { data: await _(e, { data: P, to: k }) };
86511
86511
  throw D && (P == null ? void 0 : P.slice(0, 10)) === "0x101bb98d" ? new v5t({ factory: c }) : r$(U, {
@@ -218944,6 +218944,7 @@ const rKt = 200, oKt = new sn("emoji"), iKt = Bt.create({
218944
218944
  icon: /* @__PURE__ */ M.jsx(He, { name: "Callout", size: "md" }),
218945
218945
  image: "",
218946
218946
  command: ({ editor: r, range: o }) => {
218947
+ const i = r.getAttributes("textStyle");
218947
218948
  r.chain().focus().deleteRange(o).insertContent({
218948
218949
  type: "callout",
218949
218950
  content: [
@@ -218952,7 +218953,7 @@ const rKt = 200, oKt = new sn("emoji"), iKt = Bt.create({
218952
218953
  content: []
218953
218954
  }
218954
218955
  ]
218955
- }).run();
218956
+ }).run(), i && r.chain().focus().setMark("textStyle", i).run();
218956
218957
  }
218957
218958
  },
218958
218959
  {
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-ptIvF__n.mjs";
1
+ import { D as d, P as r, h as s, u as t } from "./index-D2pS1zIo.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.2.8-tec-374-1",
5
+ "version": "2.2.8-tec-374-2",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {