@harbour-enterprises/superdoc 0.8.3 → 0.8.4
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-Bs4zLz85.js → super-editor.es-Av7vy-of.js} +5 -15
- package/dist/chunks/{super-editor.es-Bs4zLz85.js.map → super-editor.es-Av7vy-of.js.map} +1 -1
- package/dist/super-editor/chunks/{converter-0c6g4bqB.js → converter-32eh54wN.js} +3 -3
- package/dist/super-editor/chunks/{converter-0c6g4bqB.js.map → converter-32eh54wN.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-BSlvfKVF.js → docx-zipper-B87dyptU.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-BSlvfKVF.js.map → docx-zipper-B87dyptU.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-ChwbpHPS.js → editor-kFDBjA0L.js} +5 -15
- package/dist/super-editor/chunks/editor-kFDBjA0L.js.map +1 -0
- package/dist/super-editor/chunks/{toolbar-DOaJhPAq.js → toolbar-BjaAheWs.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-DOaJhPAq.js.map → toolbar-BjaAheWs.js.map} +1 -1
- 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/extensions/paragraph/paragraph.d.ts.map +1 -1
- 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.es.js +1 -1
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +5 -15
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/chunks/editor-ChwbpHPS.js.map +0 -1
|
@@ -20660,7 +20660,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
20660
20660
|
return;
|
|
20661
20661
|
}
|
|
20662
20662
|
}
|
|
20663
|
-
static updateDocumentVersion(docx = this.convertedXml, version = "0.8.
|
|
20663
|
+
static updateDocumentVersion(docx = this.convertedXml, version = "0.8.4") {
|
|
20664
20664
|
const customLocation = "docProps/custom.xml";
|
|
20665
20665
|
if (!docx[customLocation]) {
|
|
20666
20666
|
docx[customLocation] = generateCustomXml();
|
|
@@ -20933,7 +20933,7 @@ function storeSuperdocVersion(docx) {
|
|
|
20933
20933
|
function generateCustomXml() {
|
|
20934
20934
|
return DEFAULT_CUSTOM_XML;
|
|
20935
20935
|
}
|
|
20936
|
-
function generateSuperdocVersion(pid = 2, version = "0.8.
|
|
20936
|
+
function generateSuperdocVersion(pid = 2, version = "0.8.4") {
|
|
20937
20937
|
return {
|
|
20938
20938
|
type: "element",
|
|
20939
20939
|
name: "property",
|
|
@@ -35170,7 +35170,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
35170
35170
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
35171
35171
|
*/
|
|
35172
35172
|
processCollaborationMigrations() {
|
|
35173
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.8.
|
|
35173
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.8.4");
|
|
35174
35174
|
if (!this.options.ydoc) return;
|
|
35175
35175
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
35176
35176
|
let docVersion = metaMap.get("version");
|
|
@@ -37408,17 +37408,7 @@ const Paragraph = Node2.create({
|
|
|
37408
37408
|
rendered: false
|
|
37409
37409
|
},
|
|
37410
37410
|
filename: { rendered: false },
|
|
37411
|
-
rsidRDefault: { rendered: false }
|
|
37412
|
-
// Experimental
|
|
37413
|
-
isEditable: {
|
|
37414
|
-
renderDOM: ({ isEditable }) => {
|
|
37415
|
-
let style2 = "";
|
|
37416
|
-
if (isEditable === false) {
|
|
37417
|
-
style2 = "opacity: 0.5; cursor: default; pointer-events: none; user-select: none;";
|
|
37418
|
-
}
|
|
37419
|
-
return { style: style2, contenteditable: isEditable === false ? false : true };
|
|
37420
|
-
}
|
|
37421
|
-
}
|
|
37411
|
+
rsidRDefault: { rendered: false }
|
|
37422
37412
|
};
|
|
37423
37413
|
},
|
|
37424
37414
|
parseDOM() {
|
|
@@ -58723,4 +58713,4 @@ export {
|
|
|
58723
58713
|
helpers as m,
|
|
58724
58714
|
index as n
|
|
58725
58715
|
};
|
|
58726
|
-
//# sourceMappingURL=super-editor.es-
|
|
58716
|
+
//# sourceMappingURL=super-editor.es-Av7vy-of.js.map
|