@harbour-enterprises/superdoc 0.6.19 → 0.6.20
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-DmGfaaob.js → super-editor.es-BP2pRc_o.js} +7 -4
- package/dist/chunks/{super-editor.es-DmGfaaob.js.map → super-editor.es-BP2pRc_o.js.map} +1 -1
- package/dist/super-editor/chunks/{converter-C4bhF1cw.js → converter-Cc7B6Z3A.js} +6 -3
- package/dist/super-editor/chunks/{converter-C4bhF1cw.js.map → converter-Cc7B6Z3A.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-5rKUAghm.js → docx-zipper-DwXH2qKT.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-5rKUAghm.js.map → docx-zipper-DwXH2qKT.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-BNmcLLZd.js → editor-B2cnj6Es.js} +4 -4
- package/dist/super-editor/chunks/{editor-BNmcLLZd.js.map → editor-B2cnj6Es.js.map} +1 -1
- package/dist/super-editor/chunks/{toolbar-BcSe_d8P.js → toolbar-Bx84xlcK.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-BcSe_d8P.js.map → toolbar-Bx84xlcK.js.map} +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/docxImporter.d.ts.map +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.es.js +1 -1
- package/dist/superdoc.es.js +3 -3
- package/package.json +1 -1
|
@@ -53363,6 +53363,9 @@ const createNodeListHandler = (nodeHandlers) => {
|
|
|
53363
53363
|
converter?.docHiglightColors.add(hasHighlightMark.attrs.color.toUpperCase());
|
|
53364
53364
|
}
|
|
53365
53365
|
}
|
|
53366
|
+
if (consumed > 0) {
|
|
53367
|
+
index2 += consumed - 1;
|
|
53368
|
+
}
|
|
53366
53369
|
if (nodes) {
|
|
53367
53370
|
nodes.forEach((node2) => {
|
|
53368
53371
|
if (node2?.type && !["runProperties"].includes(node2.type)) {
|
|
@@ -53582,7 +53585,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
53582
53585
|
return;
|
|
53583
53586
|
}
|
|
53584
53587
|
}
|
|
53585
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.
|
|
53588
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.20") {
|
|
53586
53589
|
const customLocation = "docProps/custom.xml";
|
|
53587
53590
|
if (!docx[customLocation]) {
|
|
53588
53591
|
docx[customLocation] = generateCustomXml();
|
|
@@ -53823,7 +53826,7 @@ function storeSuperdocVersion(docx) {
|
|
|
53823
53826
|
function generateCustomXml() {
|
|
53824
53827
|
return DEFAULT_CUSTOM_XML;
|
|
53825
53828
|
}
|
|
53826
|
-
function generateSuperdocVersion(version2 = "0.6.
|
|
53829
|
+
function generateSuperdocVersion(version2 = "0.6.20") {
|
|
53827
53830
|
return {
|
|
53828
53831
|
type: "element",
|
|
53829
53832
|
name: "property",
|
|
@@ -67648,7 +67651,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
67648
67651
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
67649
67652
|
*/
|
|
67650
67653
|
processCollaborationMigrations() {
|
|
67651
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.6.
|
|
67654
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.6.20");
|
|
67652
67655
|
if (!this.options.ydoc) return;
|
|
67653
67656
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
67654
67657
|
let docVersion = metaMap.get("version");
|
|
@@ -88010,4 +88013,4 @@ export {
|
|
|
88010
88013
|
helpers as k,
|
|
88011
88014
|
index as l
|
|
88012
88015
|
};
|
|
88013
|
-
//# sourceMappingURL=super-editor.es-
|
|
88016
|
+
//# sourceMappingURL=super-editor.es-BP2pRc_o.js.map
|