@harbour-enterprises/superdoc 0.10.49 → 0.10.50
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/{super-editor.es-BnRb6ctt.es.js → super-editor.es-IXF93VNZ.es.js} +4 -4
- package/dist/chunks/{super-editor.es-wu4lEYHk.cjs → super-editor.es-dxdcIQ4m.cjs} +3 -3
- package/dist/super-editor/ai-writer.es.js +1 -1
- package/dist/super-editor/chunks/{converter-BEB_YaL1.js → converter-Df_crZev.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-1Yx6hAdV.js → docx-zipper-B95WoADt.js} +1 -1
- package/dist/super-editor/chunks/{editor-Ne_3t5iW.js → editor-Dp0sUjMz.js} +4 -4
- package/dist/super-editor/chunks/{toolbar-Xx3RwrXG.js → toolbar-YIMTl_q5.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/super-editor.es.js +6 -6
- 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 +3 -3
- package/dist/superdoc.umd.js +5 -5
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -16547,7 +16547,7 @@ const hs = class Mv {
|
|
|
16547
16547
|
return;
|
|
16548
16548
|
}
|
|
16549
16549
|
}
|
|
16550
|
-
static updateDocumentVersion(e = this.convertedXml, n = "0.10.
|
|
16550
|
+
static updateDocumentVersion(e = this.convertedXml, n = "0.10.50") {
|
|
16551
16551
|
const r = "docProps/custom.xml";
|
|
16552
16552
|
e[r] || (e[r] = Dv());
|
|
16553
16553
|
const o = e["docProps/custom.xml"];
|
|
@@ -16808,7 +16808,7 @@ function BT(t) {
|
|
|
16808
16808
|
function Dv() {
|
|
16809
16809
|
return a4;
|
|
16810
16810
|
}
|
|
16811
|
-
function _v(t = 2, e = "0.10.
|
|
16811
|
+
function _v(t = 2, e = "0.10.50") {
|
|
16812
16812
|
return {
|
|
16813
16813
|
type: "element",
|
|
16814
16814
|
name: "property",
|
|
@@ -29280,7 +29280,7 @@ const v8 = class Ox extends bM {
|
|
|
29280
29280
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
29281
29281
|
*/
|
|
29282
29282
|
processCollaborationMigrations() {
|
|
29283
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
29283
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.50"), !this.options.ydoc) return;
|
|
29284
29284
|
let e = this.options.ydoc.getMap("meta").get("version");
|
|
29285
29285
|
e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
|
|
29286
29286
|
const n = sw(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
|
|
@@ -29392,7 +29392,7 @@ rd = function() {
|
|
|
29392
29392
|
let t;
|
|
29393
29393
|
try {
|
|
29394
29394
|
const { mode: e, fragment: n, isHeadless: r, content: o, loadFromSchema: i } = this.options;
|
|
29395
|
-
e === "docx" ? (t = cx(this.converter, this.schema, this), t = Fe(this, We, uw).call(this, t), this.options.html && (t = Fe(this, We, od).call(this, this.options.html)), n &&
|
|
29395
|
+
e === "docx" ? (t = cx(this.converter, this.schema, this), t = Fe(this, We, uw).call(this, t), this.options.html && (t = Fe(this, We, od).call(this, this.options.html)), n && (t = lM(n, this.schema))) : (e === "text" || e === "html") && (i ? t = this.schema.nodeFromJSON(o) : o ? t = Fe(this, We, od).call(this, o) : t = this.schema.topNodeType.createAndFill());
|
|
29396
29396
|
} catch (e) {
|
|
29397
29397
|
console.error(e), this.emit("contentError", { editor: this, error: e });
|
|
29398
29398
|
}
|