@harbour-enterprises/superdoc 0.6.10 → 0.6.11

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.
Files changed (27) hide show
  1. package/dist/chunks/{super-editor.es-BDSHdpjP.js → super-editor.es-n8lS5QnA.js} +679 -5
  2. package/dist/chunks/{super-editor.es-BDSHdpjP.js.map → super-editor.es-n8lS5QnA.js.map} +1 -1
  3. package/dist/super-editor/chunks/{converter-6mfBech5.js → converter-BA8jbeZU.js} +674 -3
  4. package/dist/super-editor/chunks/{converter-6mfBech5.js.map → converter-BA8jbeZU.js.map} +1 -1
  5. package/dist/super-editor/chunks/{docx-zipper-Dnp61dGQ.js → docx-zipper-Crq6kHku.js} +2 -2
  6. package/dist/super-editor/chunks/{docx-zipper-Dnp61dGQ.js.map → docx-zipper-Crq6kHku.js.map} +1 -1
  7. package/dist/super-editor/chunks/{editor-B-egQeTe.js → editor-S_v8wD_U.js} +8 -5
  8. package/dist/super-editor/chunks/editor-S_v8wD_U.js.map +1 -0
  9. package/dist/super-editor/chunks/{toolbar-DBqSp9Eo.js → toolbar-BBp1B1nW.js} +3 -3
  10. package/dist/super-editor/chunks/{toolbar-DBqSp9Eo.js.map → toolbar-BBp1B1nW.js.map} +1 -1
  11. package/dist/super-editor/converter.es.js +1 -1
  12. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  13. package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
  14. package/dist/super-editor/core/super-converter/exporter-docx-defs.d.ts +447 -0
  15. package/dist/super-editor/core/super-converter/v2/importer/docxImporter.d.ts +10 -0
  16. package/dist/super-editor/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
  17. package/dist/super-editor/docx-zipper.es.js +2 -2
  18. package/dist/super-editor/editor.es.js +3 -3
  19. package/dist/super-editor/file-zipper.es.js +1 -1
  20. package/dist/super-editor/super-editor.es.js +6 -6
  21. package/dist/super-editor/tests/import/docxImporter.test.d.ts +2 -0
  22. package/dist/super-editor/tests/import/docxImporter.test.d.ts.map +1 -0
  23. package/dist/super-editor/toolbar.es.js +2 -2
  24. package/dist/super-editor.es.js +1 -1
  25. package/dist/superdoc.es.js +3 -3
  26. package/package.json +1 -1
  27. package/dist/super-editor/chunks/editor-B-egQeTe.js.map +0 -1
@@ -49703,6 +49703,661 @@ const COMMENT_REF = {
49703
49703
  }
49704
49704
  ]
49705
49705
  };
49706
+ const DEFAULT_LINKED_STYLES = {
49707
+ Normal: {
49708
+ type: "element",
49709
+ name: "w:style",
49710
+ attributes: {
49711
+ "w:type": "paragraph",
49712
+ "w:default": "1",
49713
+ "w:styleId": "Normal"
49714
+ },
49715
+ elements: [
49716
+ {
49717
+ type: "element",
49718
+ name: "w:name",
49719
+ attributes: {
49720
+ "w:val": "Normal"
49721
+ }
49722
+ },
49723
+ {
49724
+ type: "element",
49725
+ name: "w:qFormat"
49726
+ }
49727
+ ]
49728
+ },
49729
+ Title: {
49730
+ type: "element",
49731
+ name: "w:style",
49732
+ attributes: {
49733
+ "w:type": "paragraph",
49734
+ "w:styleId": "Title"
49735
+ },
49736
+ elements: [
49737
+ {
49738
+ type: "element",
49739
+ name: "w:name",
49740
+ attributes: {
49741
+ "w:val": "Title"
49742
+ }
49743
+ },
49744
+ {
49745
+ type: "element",
49746
+ name: "w:basedOn",
49747
+ attributes: {
49748
+ "w:val": "Normal"
49749
+ }
49750
+ },
49751
+ {
49752
+ type: "element",
49753
+ name: "w:next",
49754
+ attributes: {
49755
+ "w:val": "Normal"
49756
+ }
49757
+ },
49758
+ {
49759
+ type: "element",
49760
+ name: "w:link",
49761
+ attributes: {
49762
+ "w:val": "TitleChar"
49763
+ }
49764
+ },
49765
+ {
49766
+ type: "element",
49767
+ name: "w:uiPriority",
49768
+ attributes: {
49769
+ "w:val": "10"
49770
+ }
49771
+ },
49772
+ {
49773
+ type: "element",
49774
+ name: "w:qFormat"
49775
+ },
49776
+ {
49777
+ type: "element",
49778
+ name: "w:rsid",
49779
+ attributes: {
49780
+ "w:val": "00B72667"
49781
+ }
49782
+ },
49783
+ {
49784
+ type: "element",
49785
+ name: "w:pPr",
49786
+ elements: [
49787
+ {
49788
+ type: "element",
49789
+ name: "w:spacing",
49790
+ attributes: {
49791
+ "w:after": "80"
49792
+ }
49793
+ },
49794
+ {
49795
+ type: "element",
49796
+ name: "w:contextualSpacing"
49797
+ }
49798
+ ]
49799
+ },
49800
+ {
49801
+ type: "element",
49802
+ name: "w:rPr",
49803
+ elements: [
49804
+ {
49805
+ type: "element",
49806
+ name: "w:rFonts",
49807
+ attributes: {
49808
+ "w:asciiTheme": "majorHAnsi",
49809
+ "w:eastAsiaTheme": "majorEastAsia",
49810
+ "w:hAnsiTheme": "majorHAnsi",
49811
+ "w:cstheme": "majorBidi"
49812
+ }
49813
+ },
49814
+ {
49815
+ type: "element",
49816
+ name: "w:spacing",
49817
+ attributes: {
49818
+ "w:val": "-10"
49819
+ }
49820
+ },
49821
+ {
49822
+ type: "element",
49823
+ name: "w:kern",
49824
+ attributes: {
49825
+ "w:val": "28"
49826
+ }
49827
+ },
49828
+ {
49829
+ type: "element",
49830
+ name: "w:sz",
49831
+ attributes: {
49832
+ "w:val": "56"
49833
+ }
49834
+ },
49835
+ {
49836
+ type: "element",
49837
+ name: "w:szCs",
49838
+ attributes: {
49839
+ "w:val": "56"
49840
+ }
49841
+ }
49842
+ ]
49843
+ }
49844
+ ]
49845
+ },
49846
+ Subtitle: {
49847
+ type: "element",
49848
+ name: "w:style",
49849
+ attributes: {
49850
+ "w:type": "paragraph",
49851
+ "w:styleId": "Subtitle"
49852
+ },
49853
+ elements: [
49854
+ {
49855
+ type: "element",
49856
+ name: "w:name",
49857
+ attributes: {
49858
+ "w:val": "Subtitle"
49859
+ }
49860
+ },
49861
+ {
49862
+ type: "element",
49863
+ name: "w:basedOn",
49864
+ attributes: {
49865
+ "w:val": "Normal"
49866
+ }
49867
+ },
49868
+ {
49869
+ type: "element",
49870
+ name: "w:next",
49871
+ attributes: {
49872
+ "w:val": "Normal"
49873
+ }
49874
+ },
49875
+ {
49876
+ type: "element",
49877
+ name: "w:link",
49878
+ attributes: {
49879
+ "w:val": "SubtitleChar"
49880
+ }
49881
+ },
49882
+ {
49883
+ type: "element",
49884
+ name: "w:uiPriority",
49885
+ attributes: {
49886
+ "w:val": "11"
49887
+ }
49888
+ },
49889
+ {
49890
+ type: "element",
49891
+ name: "w:qFormat"
49892
+ },
49893
+ {
49894
+ type: "element",
49895
+ name: "w:rsid",
49896
+ attributes: {
49897
+ "w:val": "00B72667"
49898
+ }
49899
+ },
49900
+ {
49901
+ type: "element",
49902
+ name: "w:pPr",
49903
+ elements: [
49904
+ {
49905
+ type: "element",
49906
+ name: "w:numPr",
49907
+ elements: [
49908
+ {
49909
+ type: "element",
49910
+ name: "w:ilvl",
49911
+ attributes: {
49912
+ "w:val": "1"
49913
+ }
49914
+ }
49915
+ ]
49916
+ },
49917
+ {
49918
+ type: "element",
49919
+ name: "w:spacing",
49920
+ attributes: {
49921
+ "w:after": "160"
49922
+ }
49923
+ }
49924
+ ]
49925
+ },
49926
+ {
49927
+ type: "element",
49928
+ name: "w:rPr",
49929
+ elements: [
49930
+ {
49931
+ type: "element",
49932
+ name: "w:rFonts",
49933
+ attributes: {
49934
+ "w:asciiTheme": "minorHAnsi",
49935
+ "w:eastAsiaTheme": "majorEastAsia",
49936
+ "w:hAnsiTheme": "minorHAnsi",
49937
+ "w:cstheme": "majorBidi"
49938
+ }
49939
+ },
49940
+ {
49941
+ type: "element",
49942
+ name: "w:color",
49943
+ attributes: {
49944
+ "w:val": "595959",
49945
+ "w:themeColor": "text1",
49946
+ "w:themeTint": "A6"
49947
+ }
49948
+ },
49949
+ {
49950
+ type: "element",
49951
+ name: "w:spacing",
49952
+ attributes: {
49953
+ "w:val": "15"
49954
+ }
49955
+ },
49956
+ {
49957
+ type: "element",
49958
+ name: "w:sz",
49959
+ attributes: {
49960
+ "w:val": "28"
49961
+ }
49962
+ },
49963
+ {
49964
+ type: "element",
49965
+ name: "w:szCs",
49966
+ attributes: {
49967
+ "w:val": "28"
49968
+ }
49969
+ }
49970
+ ]
49971
+ }
49972
+ ]
49973
+ },
49974
+ Heading1: {
49975
+ type: "element",
49976
+ name: "w:style",
49977
+ attributes: {
49978
+ "w:type": "paragraph",
49979
+ "w:styleId": "Heading1"
49980
+ },
49981
+ elements: [
49982
+ {
49983
+ type: "element",
49984
+ name: "w:name",
49985
+ attributes: {
49986
+ "w:val": "heading 1"
49987
+ }
49988
+ },
49989
+ {
49990
+ type: "element",
49991
+ name: "w:basedOn",
49992
+ attributes: {
49993
+ "w:val": "Normal"
49994
+ }
49995
+ },
49996
+ {
49997
+ type: "element",
49998
+ name: "w:next",
49999
+ attributes: {
50000
+ "w:val": "Normal"
50001
+ }
50002
+ },
50003
+ {
50004
+ type: "element",
50005
+ name: "w:link",
50006
+ attributes: {
50007
+ "w:val": "Heading1Char"
50008
+ }
50009
+ },
50010
+ {
50011
+ type: "element",
50012
+ name: "w:uiPriority",
50013
+ attributes: {
50014
+ "w:val": "9"
50015
+ }
50016
+ },
50017
+ {
50018
+ type: "element",
50019
+ name: "w:qFormat"
50020
+ },
50021
+ {
50022
+ type: "element",
50023
+ name: "w:rsid",
50024
+ attributes: {
50025
+ "w:val": "00233D7B"
50026
+ }
50027
+ },
50028
+ {
50029
+ type: "element",
50030
+ name: "w:pPr",
50031
+ elements: [
50032
+ {
50033
+ type: "element",
50034
+ name: "w:keepNext"
50035
+ },
50036
+ {
50037
+ type: "element",
50038
+ name: "w:keepLines"
50039
+ },
50040
+ {
50041
+ type: "element",
50042
+ name: "w:spacing",
50043
+ attributes: {
50044
+ "w:before": "360",
50045
+ "w:after": "80"
50046
+ }
50047
+ },
50048
+ {
50049
+ type: "element",
50050
+ name: "w:outlineLvl",
50051
+ attributes: {
50052
+ "w:val": "0"
50053
+ }
50054
+ }
50055
+ ]
50056
+ },
50057
+ {
50058
+ type: "element",
50059
+ name: "w:rPr",
50060
+ elements: [
50061
+ {
50062
+ type: "element",
50063
+ name: "w:rFonts",
50064
+ attributes: {
50065
+ "w:asciiTheme": "majorHAnsi",
50066
+ "w:eastAsiaTheme": "majorEastAsia",
50067
+ "w:hAnsiTheme": "majorHAnsi",
50068
+ "w:cstheme": "majorBidi"
50069
+ }
50070
+ },
50071
+ {
50072
+ type: "element",
50073
+ name: "w:color",
50074
+ attributes: {
50075
+ "w:val": "0F4761",
50076
+ "w:themeColor": "accent1",
50077
+ "w:themeShade": "BF"
50078
+ }
50079
+ },
50080
+ {
50081
+ type: "element",
50082
+ name: "w:sz",
50083
+ attributes: {
50084
+ "w:val": "40"
50085
+ }
50086
+ },
50087
+ {
50088
+ type: "element",
50089
+ name: "w:szCs",
50090
+ attributes: {
50091
+ "w:val": "40"
50092
+ }
50093
+ }
50094
+ ]
50095
+ }
50096
+ ]
50097
+ },
50098
+ Heading2: {
50099
+ type: "element",
50100
+ name: "w:style",
50101
+ attributes: {
50102
+ "w:type": "paragraph",
50103
+ "w:styleId": "Heading2"
50104
+ },
50105
+ elements: [
50106
+ {
50107
+ type: "element",
50108
+ name: "w:name",
50109
+ attributes: {
50110
+ "w:val": "heading 2"
50111
+ }
50112
+ },
50113
+ {
50114
+ type: "element",
50115
+ name: "w:basedOn",
50116
+ attributes: {
50117
+ "w:val": "Normal"
50118
+ }
50119
+ },
50120
+ {
50121
+ type: "element",
50122
+ name: "w:next",
50123
+ attributes: {
50124
+ "w:val": "Normal"
50125
+ }
50126
+ },
50127
+ {
50128
+ type: "element",
50129
+ name: "w:link",
50130
+ attributes: {
50131
+ "w:val": "Heading2Char"
50132
+ }
50133
+ },
50134
+ {
50135
+ type: "element",
50136
+ name: "w:uiPriority",
50137
+ attributes: {
50138
+ "w:val": "9"
50139
+ }
50140
+ },
50141
+ {
50142
+ type: "element",
50143
+ name: "w:semiHidden"
50144
+ },
50145
+ {
50146
+ type: "element",
50147
+ name: "w:unhideWhenUsed"
50148
+ },
50149
+ {
50150
+ type: "element",
50151
+ name: "w:qFormat"
50152
+ },
50153
+ {
50154
+ type: "element",
50155
+ name: "w:rsid",
50156
+ attributes: {
50157
+ "w:val": "00233D7B"
50158
+ }
50159
+ },
50160
+ {
50161
+ type: "element",
50162
+ name: "w:pPr",
50163
+ elements: [
50164
+ {
50165
+ type: "element",
50166
+ name: "w:keepNext"
50167
+ },
50168
+ {
50169
+ type: "element",
50170
+ name: "w:keepLines"
50171
+ },
50172
+ {
50173
+ type: "element",
50174
+ name: "w:spacing",
50175
+ attributes: {
50176
+ "w:before": "160",
50177
+ "w:after": "80"
50178
+ }
50179
+ },
50180
+ {
50181
+ type: "element",
50182
+ name: "w:outlineLvl",
50183
+ attributes: {
50184
+ "w:val": "1"
50185
+ }
50186
+ }
50187
+ ]
50188
+ },
50189
+ {
50190
+ type: "element",
50191
+ name: "w:rPr",
50192
+ elements: [
50193
+ {
50194
+ type: "element",
50195
+ name: "w:rFonts",
50196
+ attributes: {
50197
+ "w:asciiTheme": "majorHAnsi",
50198
+ "w:eastAsiaTheme": "majorEastAsia",
50199
+ "w:hAnsiTheme": "majorHAnsi",
50200
+ "w:cstheme": "majorBidi"
50201
+ }
50202
+ },
50203
+ {
50204
+ type: "element",
50205
+ name: "w:color",
50206
+ attributes: {
50207
+ "w:val": "0F4761",
50208
+ "w:themeColor": "accent1",
50209
+ "w:themeShade": "BF"
50210
+ }
50211
+ },
50212
+ {
50213
+ type: "element",
50214
+ name: "w:sz",
50215
+ attributes: {
50216
+ "w:val": "32"
50217
+ }
50218
+ },
50219
+ {
50220
+ type: "element",
50221
+ name: "w:szCs",
50222
+ attributes: {
50223
+ "w:val": "32"
50224
+ }
50225
+ }
50226
+ ]
50227
+ }
50228
+ ]
50229
+ },
50230
+ Heading3: {
50231
+ type: "element",
50232
+ name: "w:style",
50233
+ attributes: {
50234
+ "w:type": "paragraph",
50235
+ "w:styleId": "Heading3"
50236
+ },
50237
+ elements: [
50238
+ {
50239
+ type: "element",
50240
+ name: "w:name",
50241
+ attributes: {
50242
+ "w:val": "heading 3"
50243
+ }
50244
+ },
50245
+ {
50246
+ type: "element",
50247
+ name: "w:basedOn",
50248
+ attributes: {
50249
+ "w:val": "Normal"
50250
+ }
50251
+ },
50252
+ {
50253
+ type: "element",
50254
+ name: "w:next",
50255
+ attributes: {
50256
+ "w:val": "Normal"
50257
+ }
50258
+ },
50259
+ {
50260
+ type: "element",
50261
+ name: "w:link",
50262
+ attributes: {
50263
+ "w:val": "Heading3Char"
50264
+ }
50265
+ },
50266
+ {
50267
+ type: "element",
50268
+ name: "w:uiPriority",
50269
+ attributes: {
50270
+ "w:val": "9"
50271
+ }
50272
+ },
50273
+ {
50274
+ type: "element",
50275
+ name: "w:semiHidden"
50276
+ },
50277
+ {
50278
+ type: "element",
50279
+ name: "w:unhideWhenUsed"
50280
+ },
50281
+ {
50282
+ type: "element",
50283
+ name: "w:qFormat"
50284
+ },
50285
+ {
50286
+ type: "element",
50287
+ name: "w:rsid",
50288
+ attributes: {
50289
+ "w:val": "00233D7B"
50290
+ }
50291
+ },
50292
+ {
50293
+ type: "element",
50294
+ name: "w:pPr",
50295
+ elements: [
50296
+ {
50297
+ type: "element",
50298
+ name: "w:keepNext"
50299
+ },
50300
+ {
50301
+ type: "element",
50302
+ name: "w:keepLines"
50303
+ },
50304
+ {
50305
+ type: "element",
50306
+ name: "w:spacing",
50307
+ attributes: {
50308
+ "w:before": "160",
50309
+ "w:after": "80"
50310
+ }
50311
+ },
50312
+ {
50313
+ type: "element",
50314
+ name: "w:outlineLvl",
50315
+ attributes: {
50316
+ "w:val": "2"
50317
+ }
50318
+ }
50319
+ ]
50320
+ },
50321
+ {
50322
+ type: "element",
50323
+ name: "w:rPr",
50324
+ elements: [
50325
+ {
50326
+ type: "element",
50327
+ name: "w:rFonts",
50328
+ attributes: {
50329
+ "w:eastAsiaTheme": "majorEastAsia",
50330
+ "w:cstheme": "majorBidi"
50331
+ }
50332
+ },
50333
+ {
50334
+ type: "element",
50335
+ name: "w:color",
50336
+ attributes: {
50337
+ "w:val": "0F4761",
50338
+ "w:themeColor": "accent1",
50339
+ "w:themeShade": "BF"
50340
+ }
50341
+ },
50342
+ {
50343
+ type: "element",
50344
+ name: "w:sz",
50345
+ attributes: {
50346
+ "w:val": "28"
50347
+ }
50348
+ },
50349
+ {
50350
+ type: "element",
50351
+ name: "w:szCs",
50352
+ attributes: {
50353
+ "w:val": "28"
50354
+ }
50355
+ }
50356
+ ]
50357
+ }
50358
+ ]
50359
+ }
50360
+ };
49706
50361
  const TrackInsertMarkName = "trackInsert";
49707
50362
  const TrackDeleteMarkName = "trackDelete";
49708
50363
  const TrackFormatMarkName = "trackFormat";
@@ -52800,6 +53455,19 @@ function getStyleDefinitions(docx) {
52800
53455
  });
52801
53456
  return allParsedStyles;
52802
53457
  }
53458
+ function addDefaultStylesIfMissing(styles) {
53459
+ if (!styles) return null;
53460
+ const updatedStyles = carbonCopy(styles);
53461
+ const { elements } = updatedStyles.elements[0];
53462
+ Object.keys(DEFAULT_LINKED_STYLES).forEach((styleId) => {
53463
+ const existsOnDoc = elements.some((el) => el.attributes?.["w:styleId"] === styleId);
53464
+ if (!existsOnDoc) {
53465
+ const missingStyle = DEFAULT_LINKED_STYLES[styleId];
53466
+ updatedStyles.elements[0].elements.push(missingStyle);
53467
+ }
53468
+ });
53469
+ return updatedStyles;
53470
+ }
52803
53471
  function getHeaderFooter(el, elementType, docx, converter, editor) {
52804
53472
  const rels = docx["word/_rels/document.xml.rels"];
52805
53473
  const relationships = rels.elements.find((el2) => el2.name === "Relationships");
@@ -52867,6 +53535,9 @@ const _SuperConverter = class _SuperConverter2 {
52867
53535
  if (file.name === "word/document.xml") {
52868
53536
  this.documentAttributes = this.convertedXml[file.name].elements[0]?.attributes;
52869
53537
  }
53538
+ if (file.name === "word/styles.xml") {
53539
+ this.convertedXml[file.name] = addDefaultStylesIfMissing(this.convertedXml[file.name]);
53540
+ }
52870
53541
  });
52871
53542
  this.initialJSON = this.convertedXml["word/document.xml"];
52872
53543
  if (!this.initialJSON) this.initialJSON = this.parseXmlToJson(this.xml);
@@ -52893,7 +53564,7 @@ const _SuperConverter = class _SuperConverter2 {
52893
53564
  return;
52894
53565
  }
52895
53566
  }
52896
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.10") {
53567
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.11") {
52897
53568
  const customLocation = "docProps/custom.xml";
52898
53569
  if (!docx[customLocation]) {
52899
53570
  docx[customLocation] = generateCustomXml();
@@ -53134,7 +53805,7 @@ function storeSuperdocVersion(docx) {
53134
53805
  function generateCustomXml() {
53135
53806
  return DEFAULT_CUSTOM_XML;
53136
53807
  }
53137
- function generateSuperdocVersion(version2 = "0.6.10") {
53808
+ function generateSuperdocVersion(version2 = "0.6.11") {
53138
53809
  return {
53139
53810
  type: "element",
53140
53811
  name: "property",
@@ -66909,6 +67580,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
66909
67580
  const relsData = this.converter.convertedXml["word/_rels/document.xml.rels"];
66910
67581
  const rels = this.converter.schemaToXml(relsData.elements[0]);
66911
67582
  const customXml = this.converter.schemaToXml(this.converter.convertedXml["docProps/custom.xml"].elements[0]);
67583
+ const styles = this.converter.schemaToXml(this.converter.convertedXml["word/styles.xml"].elements[0]);
66912
67584
  const customSettings = this.converter.schemaToXml(this.converter.convertedXml["word/settings.xml"].elements[0]);
66913
67585
  const originalCommentsXml = this.converter.convertedXml["word/comments.xml"];
66914
67586
  const updatedCommentsXml = originalCommentsXml ? this.converter.schemaToXml(originalCommentsXml.elements[0]) : null;
@@ -66917,7 +67589,9 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
66917
67589
  "word/document.xml": String(documentXml),
66918
67590
  "word/_rels/document.xml.rels": String(rels),
66919
67591
  "docProps/custom.xml": String(customXml),
66920
- "word/settings.xml": String(customSettings)
67592
+ "word/settings.xml": String(customSettings),
67593
+ // Replace & with & in styles.xml as DOCX viewers can't handle it
67594
+ "word/styles.xml": String(styles).replace(/&/gi, "&")
66921
67595
  };
66922
67596
  if (updatedCommentsXml) updatedDocs["word/comments.xml"] = String(updatedCommentsXml);
66923
67597
  const zipper = new DocxZipper();
@@ -66956,7 +67630,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
66956
67630
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
66957
67631
  */
66958
67632
  processCollaborationMigrations() {
66959
- console.debug("[checkVersionMigrations] Current editor version", "0.6.10");
67633
+ console.debug("[checkVersionMigrations] Current editor version", "0.6.11");
66960
67634
  if (!this.options.ydoc) return;
66961
67635
  const metaMap = this.options.ydoc.getMap("meta");
66962
67636
  let docVersion = metaMap.get("version");
@@ -87317,4 +87991,4 @@ export {
87317
87991
  helpers as k,
87318
87992
  index as l
87319
87993
  };
87320
- //# sourceMappingURL=super-editor.es-BDSHdpjP.js.map
87994
+ //# sourceMappingURL=super-editor.es-n8lS5QnA.js.map