@harbour-enterprises/superdoc 0.7.4 → 0.7.6
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-8jStFh7I.js → super-editor.es-C8lN_1SL.js} +7 -4
- package/dist/chunks/{super-editor.es-8jStFh7I.js.map → super-editor.es-C8lN_1SL.js.map} +1 -1
- package/dist/super-editor/chunks/{converter-qyXMGEEP.js → converter-1et2Hxzg.js} +3 -3
- package/dist/super-editor/chunks/{converter-qyXMGEEP.js.map → converter-1et2Hxzg.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-CgVGl9g8.js → docx-zipper-dtToaaMe.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-CgVGl9g8.js.map → docx-zipper-dtToaaMe.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-COjWcxtS.js → editor-DB_c_1aS.js} +7 -4
- package/dist/super-editor/chunks/editor-DB_c_1aS.js.map +1 -0
- package/dist/super-editor/chunks/{toolbar-CT1_lDfg.js → toolbar-DnmHgf0I.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-CT1_lDfg.js.map → toolbar-DnmHgf0I.js.map} +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/Editor.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/dist/superdoc.umd.js +7 -4
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/chunks/editor-COjWcxtS.js.map +0 -1
|
@@ -20641,7 +20641,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
20641
20641
|
return;
|
|
20642
20642
|
}
|
|
20643
20643
|
}
|
|
20644
|
-
static updateDocumentVersion(docx = this.convertedXml, version = "0.7.
|
|
20644
|
+
static updateDocumentVersion(docx = this.convertedXml, version = "0.7.6") {
|
|
20645
20645
|
const customLocation = "docProps/custom.xml";
|
|
20646
20646
|
if (!docx[customLocation]) {
|
|
20647
20647
|
docx[customLocation] = generateCustomXml();
|
|
@@ -20914,7 +20914,7 @@ function storeSuperdocVersion(docx) {
|
|
|
20914
20914
|
function generateCustomXml() {
|
|
20915
20915
|
return DEFAULT_CUSTOM_XML;
|
|
20916
20916
|
}
|
|
20917
|
-
function generateSuperdocVersion(pid = 2, version = "0.7.
|
|
20917
|
+
function generateSuperdocVersion(pid = 2, version = "0.7.6") {
|
|
20918
20918
|
return {
|
|
20919
20919
|
type: "element",
|
|
20920
20920
|
name: "property",
|
|
@@ -35145,7 +35145,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
35145
35145
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
35146
35146
|
*/
|
|
35147
35147
|
processCollaborationMigrations() {
|
|
35148
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.7.
|
|
35148
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.7.6");
|
|
35149
35149
|
if (!this.options.ydoc) return;
|
|
35150
35150
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
35151
35151
|
let docVersion = metaMap.get("version");
|
|
@@ -35231,6 +35231,9 @@ init_fn = function(options2) {
|
|
|
35231
35231
|
}, 0);
|
|
35232
35232
|
};
|
|
35233
35233
|
initRichText_fn = function(options2) {
|
|
35234
|
+
if (!options2.extensions || !options2.extensions.length) {
|
|
35235
|
+
this.options.extensions = getRichTextExtensions();
|
|
35236
|
+
}
|
|
35234
35237
|
__privateMethod$1(this, _Editor_instances, createExtensionService_fn).call(this);
|
|
35235
35238
|
__privateMethod$1(this, _Editor_instances, createCommandService_fn).call(this);
|
|
35236
35239
|
__privateMethod$1(this, _Editor_instances, createSchema_fn).call(this);
|
|
@@ -58663,4 +58666,4 @@ export {
|
|
|
58663
58666
|
helpers as l,
|
|
58664
58667
|
index as m
|
|
58665
58668
|
};
|
|
58666
|
-
//# sourceMappingURL=super-editor.es-
|
|
58669
|
+
//# sourceMappingURL=super-editor.es-C8lN_1SL.js.map
|