@harbour-enterprises/superdoc 0.29.0-next.14 → 0.29.0-next.16
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.
- package/dist/chunks/{PdfViewer-DLN3Y3_F.cjs → PdfViewer-B14Psbm5.cjs} +1 -1
- package/dist/chunks/{PdfViewer-BEO8hsqF.es.js → PdfViewer-CpbPbmhH.es.js} +1 -1
- package/dist/chunks/{index-BXgp6uWu.es.js → index-BAB9eQRg.es.js} +3 -3
- package/dist/chunks/{index-yUHHKfBN-ChT8BlSW.es.js → index-BE8ctcJ1-BVHEZaEv.es.js} +1 -1
- package/dist/chunks/{index-yUHHKfBN-4EGB8drV.cjs → index-BE8ctcJ1-BsFfsr_5.cjs} +1 -1
- package/dist/chunks/{index-BaAAtu4I.cjs → index-BRloVMt4.cjs} +3 -3
- package/dist/chunks/{super-editor.es-w3oeQ-Dp.cjs → super-editor.es-hL-1R4Qv.cjs} +13 -8
- package/dist/chunks/{super-editor.es-CuXZDBte.es.js → super-editor.es-soAIWbdF.es.js} +13 -8
- package/dist/style.css +27 -10
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-BeTmlsUD.js → converter-Dw2FWHjz.js} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-BMC2MmfQ.js → docx-zipper-B-OgBQQi.js} +1 -1
- package/dist/super-editor/chunks/{editor-Cl128I8j.js → editor-CtEAROku.js} +4 -4
- package/dist/super-editor/chunks/{index-yUHHKfBN.js → index-BE8ctcJ1.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-B47oEw9Q.js → toolbar-Bya4b9Yv.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +27 -10
- package/dist/super-editor/super-editor/src/components/toolbar/defaultItems.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/super-editor.es.js +16 -11
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +15 -10
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,14 +9,14 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
|
|
|
9
9
|
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
10
10
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
11
11
|
var _SuperToolbar_instances, initToolbarGroups_fn, _interceptedCommands, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, enrichTrackedChanges_fn, runCommandWithArgumentOnly_fn;
|
|
12
|
-
import { aA as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aD as vClickOutside, aE as getActiveFormatting, av as isInTable, aF as readFromClipboard, aG as handleClipboardPaste, aH as getFileObject, aI as runPropertyTranslators, aJ as translator, aK as translator$1, aL as translator$2, aM as translator$3, aN as translator$4, aO as translator$5, aP as translator$6, aQ as translator$7, aR as translator$8, aS as translator$9, aT as translator$a, aU as translator$b, aV as translator$c, aW as translator$d, aX as translator$e, aY as commentRangeEndTranslator, aZ as commentRangeStartTranslator, a_ as translator$f, a$ as translator$g, b0 as translator$h, b1 as translator$i, b2 as translator$j, b3 as translator$k, b4 as translator$l, b5 as translator$m, b6 as translator$n, b7 as translator$o, b8 as translator$p, b9 as translator$q, ba as translator$r, bb as translator$s, bc as translator$t, bd as translator$u, be as translator$v, bf as translator$w, bg as translator$x, bh as translator$y, bi as translator$z, bj as translator$A, bk as translator$B, bl as translator$C, bm as translator$D, bn as translator$E, bo as translator$F, bp as translator$G, bq as translator$H, br as translator$I, bs as translator$J, bt as translator$K, bu as translator$L, bv as translator$M, bw as translator$N, bx as translator$O, by as translator$P, bz as translator$Q, bA as translator$R, bB as translator$S, bC as translator$T, bD as translator$U, bE as translator$V, bF as translator$W, bG as translator$X, bH as translator$Y, bI as translator$Z, bJ as translator$_, bK as translator$$, bL as translator$10, bM as translator$11, bN as translator$12, bO as translator$13, bP as translator$14, bQ as translator$15, bR as translator$16, bS as translator$17, bT as translator$18, bU as translator$19, bV as translator$1a, bW as translator$1b, bX as translator$1c, bY as translator$1d, bZ as translator$1e, b_ as translator$1f, b$ as translator$1g, c0 as translator$1h, P as PluginKey, a as Plugin } from "./chunks/converter-
|
|
13
|
-
import { a5, i, a2 } from "./chunks/converter-
|
|
14
|
-
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as collectTargetListItemPositions, d as getFileOpener, e as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, f as uploadAndInsertImage, h as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, j as undoDepth, k as redoDepth, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-
|
|
15
|
-
import { v, C, w, T, q, x, t } from "./chunks/editor-
|
|
12
|
+
import { aA as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aD as vClickOutside, aE as getActiveFormatting, av as isInTable, aF as readFromClipboard, aG as handleClipboardPaste, aH as getFileObject, aI as runPropertyTranslators, aJ as translator, aK as translator$1, aL as translator$2, aM as translator$3, aN as translator$4, aO as translator$5, aP as translator$6, aQ as translator$7, aR as translator$8, aS as translator$9, aT as translator$a, aU as translator$b, aV as translator$c, aW as translator$d, aX as translator$e, aY as commentRangeEndTranslator, aZ as commentRangeStartTranslator, a_ as translator$f, a$ as translator$g, b0 as translator$h, b1 as translator$i, b2 as translator$j, b3 as translator$k, b4 as translator$l, b5 as translator$m, b6 as translator$n, b7 as translator$o, b8 as translator$p, b9 as translator$q, ba as translator$r, bb as translator$s, bc as translator$t, bd as translator$u, be as translator$v, bf as translator$w, bg as translator$x, bh as translator$y, bi as translator$z, bj as translator$A, bk as translator$B, bl as translator$C, bm as translator$D, bn as translator$E, bo as translator$F, bp as translator$G, bq as translator$H, br as translator$I, bs as translator$J, bt as translator$K, bu as translator$L, bv as translator$M, bw as translator$N, bx as translator$O, by as translator$P, bz as translator$Q, bA as translator$R, bB as translator$S, bC as translator$T, bD as translator$U, bE as translator$V, bF as translator$W, bG as translator$X, bH as translator$Y, bI as translator$Z, bJ as translator$_, bK as translator$$, bL as translator$10, bM as translator$11, bN as translator$12, bO as translator$13, bP as translator$14, bQ as translator$15, bR as translator$16, bS as translator$17, bT as translator$18, bU as translator$19, bV as translator$1a, bW as translator$1b, bX as translator$1c, bY as translator$1d, bZ as translator$1e, b_ as translator$1f, b$ as translator$1g, c0 as translator$1h, P as PluginKey, a as Plugin } from "./chunks/converter-Dw2FWHjz.js";
|
|
13
|
+
import { a5, i, a2 } from "./chunks/converter-Dw2FWHjz.js";
|
|
14
|
+
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as collectTargetListItemPositions, d as getFileOpener, e as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, f as uploadAndInsertImage, h as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, j as undoDepth, k as redoDepth, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-CtEAROku.js";
|
|
15
|
+
import { v, C, w, T, q, x, t } from "./chunks/editor-CtEAROku.js";
|
|
16
16
|
import { ref, onMounted, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, withModifiers, toDisplayString, createCommentVNode, normalizeStyle, computed, watch, withDirectives, withKeys, vModelText, createTextVNode, createVNode, h, createApp, markRaw, nextTick, onBeforeUnmount, defineComponent, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
|
|
17
|
-
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-
|
|
17
|
+
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-Bya4b9Yv.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-B-OgBQQi.js";
|
|
20
20
|
import { createZip } from "./file-zipper.es.js";
|
|
21
21
|
var eventemitter3 = { exports: {} };
|
|
22
22
|
var hasRequiredEventemitter3;
|
|
@@ -495,7 +495,7 @@ const _hoisted_1$b = {
|
|
|
495
495
|
key: 0,
|
|
496
496
|
class: "linked-style-buttons"
|
|
497
497
|
};
|
|
498
|
-
const _hoisted_2$8 = ["onClick", "onKeydown"];
|
|
498
|
+
const _hoisted_2$8 = ["onClick", "onKeydown", "aria-label"];
|
|
499
499
|
const _sfc_main$c = {
|
|
500
500
|
__name: "LinkedStyle",
|
|
501
501
|
props: {
|
|
@@ -540,7 +540,6 @@ const _sfc_main$c = {
|
|
|
540
540
|
moveToPreviousStyle(index);
|
|
541
541
|
break;
|
|
542
542
|
case "Enter":
|
|
543
|
-
console.log("style", style);
|
|
544
543
|
select(style);
|
|
545
544
|
break;
|
|
546
545
|
}
|
|
@@ -556,6 +555,7 @@ const _sfc_main$c = {
|
|
|
556
555
|
class: normalizeClass(["style-item", { selected: __props.selectedOption === style.id }]),
|
|
557
556
|
onClick: ($event) => select(style),
|
|
558
557
|
onKeydown: (event) => handleKeyDown(event, index, style),
|
|
558
|
+
"aria-label": `Linked style - ${style.id}`,
|
|
559
559
|
ref_for: true,
|
|
560
560
|
ref_key: "styleRefs",
|
|
561
561
|
ref: styleRefs
|
|
@@ -571,7 +571,7 @@ const _sfc_main$c = {
|
|
|
571
571
|
};
|
|
572
572
|
}
|
|
573
573
|
};
|
|
574
|
-
const LinkedStyle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
574
|
+
const LinkedStyle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-9c96d4a1"]]);
|
|
575
575
|
const _hoisted_1$a = {
|
|
576
576
|
key: 0,
|
|
577
577
|
class: "link-title"
|
|
@@ -2291,11 +2291,15 @@ const makeDefaultItems = ({
|
|
|
2291
2291
|
}
|
|
2292
2292
|
}
|
|
2293
2293
|
],
|
|
2294
|
-
onActivate: () => {
|
|
2294
|
+
onActivate: ({ linkedStyleMark }) => {
|
|
2295
|
+
const styles = getQuickFormatList(superToolbar.activeEditor);
|
|
2296
|
+
const selectedStyle = styles?.find((style) => style.id === linkedStyleMark?.attrs?.styleId);
|
|
2297
|
+
linkedStyles.label.value = selectedStyle ? selectedStyle.definition.attrs.name : toolbarTexts2.formatText;
|
|
2295
2298
|
linkedStyles.disabled.value = false;
|
|
2296
2299
|
},
|
|
2297
2300
|
onDeactivate: () => {
|
|
2298
2301
|
linkedStyles.disabled.value = true;
|
|
2302
|
+
linkedStyles.label.value = toolbarTexts2.formatText;
|
|
2299
2303
|
}
|
|
2300
2304
|
});
|
|
2301
2305
|
const renderIcon = (value, selectedValue) => {
|
|
@@ -3013,10 +3017,11 @@ class SuperToolbar extends EventEmitter {
|
|
|
3013
3017
|
item.setDisabled(!canRejectTrackedChanges);
|
|
3014
3018
|
}
|
|
3015
3019
|
if (item.name.value === "linkedStyles") {
|
|
3020
|
+
const linkedStyleMark = marks.find((mark) => mark.name === "styleId");
|
|
3016
3021
|
if (this.activeEditor && !getQuickFormatList(this.activeEditor).length) {
|
|
3017
3022
|
return item.deactivate();
|
|
3018
3023
|
} else {
|
|
3019
|
-
return item.activate();
|
|
3024
|
+
return item.activate({ linkedStyleMark });
|
|
3020
3025
|
}
|
|
3021
3026
|
}
|
|
3022
3027
|
const rawActiveMark = marks.find((mark) => mark.name === item.name.value);
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-hL-1R4Qv.cjs");
|
|
4
4
|
require("./chunks/vue-BQxRC6G7.cjs");
|
|
5
5
|
exports.AIWriter = superEditor_es.AIWriter;
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-
|
|
1
|
+
import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-soAIWbdF.es.js";
|
|
2
2
|
import "./chunks/vue-D1vcEBAQ.es.js";
|
|
3
3
|
export {
|
|
4
4
|
A as AIWriter,
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
4
|
-
const superdoc = require("./chunks/index-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-hL-1R4Qv.cjs");
|
|
4
|
+
const superdoc = require("./chunks/index-BRloVMt4.cjs");
|
|
5
5
|
const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
|
7
7
|
exports.Editor = superEditor_es.Editor;
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-
|
|
2
|
-
import { D, H, P, S as S2, m, l } from "./chunks/index-
|
|
1
|
+
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-soAIWbdF.es.js";
|
|
2
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-BAB9eQRg.es.js";
|
|
3
3
|
import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
|
|
4
4
|
export {
|
|
5
5
|
a as AnnotatorHelpers,
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -35782,7 +35782,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
35782
35782
|
static getStoredSuperdocVersion(docx) {
|
|
35783
35783
|
return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
35784
35784
|
}
|
|
35785
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.0-next.
|
|
35785
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.0-next.16") {
|
|
35786
35786
|
return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
|
|
35787
35787
|
}
|
|
35788
35788
|
/**
|
|
@@ -61712,7 +61712,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
61712
61712
|
{ default: remarkStringify2 },
|
|
61713
61713
|
{ default: remarkGfm2 }
|
|
61714
61714
|
] = await Promise.all([
|
|
61715
|
-
Promise.resolve().then(() =>
|
|
61715
|
+
Promise.resolve().then(() => indexBE8ctcJ1),
|
|
61716
61716
|
Promise.resolve().then(() => indexDRCvimau),
|
|
61717
61717
|
Promise.resolve().then(() => indexC_x_N6Uh),
|
|
61718
61718
|
Promise.resolve().then(() => indexD_sWOSiG),
|
|
@@ -61930,7 +61930,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
61930
61930
|
* @returns {Object | void} Migration results
|
|
61931
61931
|
*/
|
|
61932
61932
|
processCollaborationMigrations() {
|
|
61933
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.29.0-next.
|
|
61933
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.29.0-next.16");
|
|
61934
61934
|
if (!this.options.ydoc) return;
|
|
61935
61935
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
61936
61936
|
let docVersion = metaMap.get("version");
|
|
@@ -96308,7 +96308,7 @@ ${style2}
|
|
|
96308
96308
|
key: 0,
|
|
96309
96309
|
class: "linked-style-buttons"
|
|
96310
96310
|
};
|
|
96311
|
-
const _hoisted_2$8$1 = ["onClick", "onKeydown"];
|
|
96311
|
+
const _hoisted_2$8$1 = ["onClick", "onKeydown", "aria-label"];
|
|
96312
96312
|
const _sfc_main$c$1 = {
|
|
96313
96313
|
__name: "LinkedStyle",
|
|
96314
96314
|
props: {
|
|
@@ -96353,7 +96353,6 @@ ${style2}
|
|
|
96353
96353
|
moveToPreviousStyle(index2);
|
|
96354
96354
|
break;
|
|
96355
96355
|
case "Enter":
|
|
96356
|
-
console.log("style", style2);
|
|
96357
96356
|
select2(style2);
|
|
96358
96357
|
break;
|
|
96359
96358
|
}
|
|
@@ -96369,6 +96368,7 @@ ${style2}
|
|
|
96369
96368
|
class: normalizeClass(["style-item", { selected: __props.selectedOption === style2.id }]),
|
|
96370
96369
|
onClick: ($event) => select2(style2),
|
|
96371
96370
|
onKeydown: (event) => handleKeyDown2(event, index2, style2),
|
|
96371
|
+
"aria-label": `Linked style - ${style2.id}`,
|
|
96372
96372
|
ref_for: true,
|
|
96373
96373
|
ref_key: "styleRefs",
|
|
96374
96374
|
ref: styleRefs
|
|
@@ -96384,7 +96384,7 @@ ${style2}
|
|
|
96384
96384
|
};
|
|
96385
96385
|
}
|
|
96386
96386
|
};
|
|
96387
|
-
const LinkedStyle = /* @__PURE__ */ _export_sfc$1(_sfc_main$c$1, [["__scopeId", "data-v-
|
|
96387
|
+
const LinkedStyle = /* @__PURE__ */ _export_sfc$1(_sfc_main$c$1, [["__scopeId", "data-v-9c96d4a1"]]);
|
|
96388
96388
|
const _hoisted_1$a$1 = {
|
|
96389
96389
|
key: 0,
|
|
96390
96390
|
class: "link-title"
|
|
@@ -98104,11 +98104,15 @@ ${style2}
|
|
|
98104
98104
|
}
|
|
98105
98105
|
}
|
|
98106
98106
|
],
|
|
98107
|
-
onActivate: () => {
|
|
98107
|
+
onActivate: ({ linkedStyleMark }) => {
|
|
98108
|
+
const styles = getQuickFormatList(superToolbar.activeEditor);
|
|
98109
|
+
const selectedStyle = styles?.find((style2) => style2.id === linkedStyleMark?.attrs?.styleId);
|
|
98110
|
+
linkedStyles.label.value = selectedStyle ? selectedStyle.definition.attrs.name : toolbarTexts2.formatText;
|
|
98108
98111
|
linkedStyles.disabled.value = false;
|
|
98109
98112
|
},
|
|
98110
98113
|
onDeactivate: () => {
|
|
98111
98114
|
linkedStyles.disabled.value = true;
|
|
98115
|
+
linkedStyles.label.value = toolbarTexts2.formatText;
|
|
98112
98116
|
}
|
|
98113
98117
|
});
|
|
98114
98118
|
const renderIcon = (value, selectedValue) => {
|
|
@@ -98813,10 +98817,11 @@ ${style2}
|
|
|
98813
98817
|
item.setDisabled(!canRejectTrackedChanges);
|
|
98814
98818
|
}
|
|
98815
98819
|
if (item.name.value === "linkedStyles") {
|
|
98820
|
+
const linkedStyleMark = marks.find((mark2) => mark2.name === "styleId");
|
|
98816
98821
|
if (this.activeEditor && !getQuickFormatList(this.activeEditor).length) {
|
|
98817
98822
|
return item.deactivate();
|
|
98818
98823
|
} else {
|
|
98819
|
-
return item.activate();
|
|
98824
|
+
return item.activate({ linkedStyleMark });
|
|
98820
98825
|
}
|
|
98821
98826
|
}
|
|
98822
98827
|
const rawActiveMark = marks.find((mark2) => mark2.name === item.name.value);
|
|
@@ -118161,7 +118166,7 @@ ${style2}
|
|
|
118161
118166
|
this.config.colors = shuffleArray(this.config.colors);
|
|
118162
118167
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
118163
118168
|
this.colorIndex = 0;
|
|
118164
|
-
this.version = "0.29.0-next.
|
|
118169
|
+
this.version = "0.29.0-next.16";
|
|
118165
118170
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
118166
118171
|
this.superdocId = config2.superdocId || v4();
|
|
118167
118172
|
this.colors = this.config.colors;
|
|
@@ -120561,7 +120566,7 @@ ${style2}
|
|
|
120561
120566
|
value && typeof value === "object" && "byteLength" in value && "byteOffset" in value
|
|
120562
120567
|
);
|
|
120563
120568
|
}
|
|
120564
|
-
const
|
|
120569
|
+
const indexBE8ctcJ1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
120565
120570
|
__proto__: null,
|
|
120566
120571
|
unified
|
|
120567
120572
|
}, Symbol.toStringTag, { value: "Module" }));
|