vdc-editor 0.1.286 → 0.1.287

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.
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "./index-CSWlx85G.mjs";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=BulkSpellChecker-IraxV0f0.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BulkSpellChecker-IraxV0f0.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -32466,7 +32466,7 @@ const CY = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden [
32466
32466
  toolbarExtensionOrder: {}
32467
32467
  },
32468
32468
  setup(t) {
32469
- const e = DR(() => import("./BulkSpellChecker-DWb9Bf6o.mjs")), { t: n } = Jt(), o = t, r = zt("isEditable", z(!0)), i = [
32469
+ const e = DR(() => import("./BulkSpellChecker-IraxV0f0.mjs")), { t: n } = Jt(), o = t, r = zt("isEditable", z(!0)), i = [
32470
32470
  mh,
32471
32471
  hd,
32472
32472
  vh,
@@ -47397,8 +47397,8 @@ const dse = ["innerHTML"], fse = ["book-mark-node-id", "book-mark-content", "nod
47397
47397
  default: O(() => [
47398
47398
  g(o) && !r.value ? (A(), ie("button", {
47399
47399
  key: 0,
47400
- onClick: pn(F, ["stop"]),
47401
- class: "w-6 inline-flex justify-center rounded text-ed-red-500 active:bg-ed-accent"
47400
+ class: "w-6 inline-flex justify-center rounded text-ed-red-500 active:bg-ed-accent",
47401
+ onClick: pn(F, ["stop"])
47402
47402
  }, [
47403
47403
  R(g(Qt), {
47404
47404
  name: "fileEdit2",
@@ -47407,9 +47407,9 @@ const dse = ["innerHTML"], fse = ["book-mark-node-id", "book-mark-content", "nod
47407
47407
  ])) : ye("", !0),
47408
47408
  g(o) && r.value ? (A(), ie("div", {
47409
47409
  key: 1,
47410
- innerHTML: I.value,
47410
+ class: "super-text-view-mode-item whitespace-pre-wrap",
47411
47411
  onClick: pn(F, ["stop"]),
47412
- class: "super-text-view-mode-item"
47412
+ innerHTML: I.value
47413
47413
  }, null, 8, dse)) : ye("", !0),
47414
47414
  g(o) ? ye("", !0) : (A(), H(W, { key: 2 }, {
47415
47415
  default: O(() => [
@@ -56200,7 +56200,7 @@ const dce = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
56200
56200
  variant: "outline",
56201
56201
  class: Fe(
56202
56202
  g(Be)(
56203
- "wrap-anywhere whitespace-normal w-full !font-normal px-1 pt-0 m-0 !leading-tight rounded-sm text-white border-transparent cursor-pointer",
56203
+ "wrap-anywhere whitespace-pre-wrap w-full !font-normal px-1 pt-0 m-0 !leading-tight rounded-sm text-white border-transparent cursor-pointer",
56204
56204
  M.elementId ? ((L = E.superPreviewCustomClass) == null ? void 0 : L.completedSuper) ?? "bg-black" : ((U = E.superPreviewCustomClass) == null ? void 0 : U.unproducedSuper) ?? "bg-red-500",
56205
56205
  {
56206
56206
  "cursor-default": !g(u)
@@ -56235,7 +56235,7 @@ const dce = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
56235
56235
  ], 6);
56236
56236
  };
56237
56237
  }
56238
- }), Tce = /* @__PURE__ */ ui(kce, [["__scopeId", "data-v-18e941f3"]]), Ace = ["index", "book-mark-id", "line-id", "onMouseover"], Mce = ["innerHTML"], Oce = /* @__PURE__ */ Y({
56238
+ }), Tce = /* @__PURE__ */ ui(kce, [["__scopeId", "data-v-f034d4ce"]]), Ace = ["index", "book-mark-id", "line-id", "onMouseover"], Mce = ["innerHTML"], Oce = /* @__PURE__ */ Y({
56239
56239
  __name: "SuperTextViewComment",
56240
56240
  props: {
56241
56241
  editor: {},
@@ -56294,7 +56294,7 @@ const dce = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
56294
56294
  variant: "outline",
56295
56295
  class: Fe(
56296
56296
  g(Be)(
56297
- "wrap-anywhere whitespace-normal w-full !font-normal px-1 pt-0 m-0 !leading-tight rounded-sm text-white border-transparent cursor-pointer",
56297
+ "wrap-anywhere whitespace-pre-wrap w-full !font-normal px-1 pt-0 m-0 !leading-tight rounded-sm text-white border-transparent cursor-pointer",
56298
56298
  C.elementId ? ((M = y.superPreviewCustomClass) == null ? void 0 : M.completedSuper) ?? "bg-black" : ((F = y.superPreviewCustomClass) == null ? void 0 : F.unproducedSuper) ?? "bg-red-500",
56299
56299
  {
56300
56300
  "cursor-default": !g(l)
@@ -56329,7 +56329,7 @@ const dce = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
56329
56329
  ], 6);
56330
56330
  };
56331
56331
  }
56332
- }), Ice = /* @__PURE__ */ ui(Oce, [["__scopeId", "data-v-9e49a79c"]]), qk = (t) => {
56332
+ }), Ice = /* @__PURE__ */ ui(Oce, [["__scopeId", "data-v-b0ec2837"]]), qk = (t) => {
56333
56333
  console.log(t), t = t.replace(/\s*style="[^"]*"/g, ""), t = t.replace(/<iframe\b[\s\S]*?<\/iframe\s*>/gi, "");
56334
56334
  const e = t.match(/<!--StartFragment-->([\s\S]*?)<!--EndFragment-->/), o = (e ? e[1] : t).replace(/<br\s*\/?>/gi, `
56335
56335
  `).split(/\r?\n/), r = [];
@@ -61745,4 +61745,4 @@ export {
61745
61745
  vfe as n,
61746
61746
  qfe as u
61747
61747
  };
61748
- //# sourceMappingURL=index-BEPLzVf6.mjs.map
61748
+ //# sourceMappingURL=index-CSWlx85G.mjs.map