@harbour-enterprises/superdoc 0.7.11 → 0.7.12
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-B1h1d98o.js → super-editor.es-Ds8z4efe.js} +5 -5
- package/dist/chunks/super-editor.es-Ds8z4efe.js.map +1 -0
- package/dist/super-editor/chunks/{converter-DevFloKQ.js → converter-DXHxlWfC.js} +4 -4
- package/dist/super-editor/chunks/{converter-DevFloKQ.js.map → converter-DXHxlWfC.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-CM7NkDGl.js → docx-zipper-Ji0TSMz8.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-CM7NkDGl.js.map → docx-zipper-Ji0TSMz8.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-CcU9xH5t.js → editor-BXLPn6we.js} +4 -4
- package/dist/super-editor/chunks/{editor-CcU9xH5t.js.map → editor-BXLPn6we.js.map} +1 -1
- package/dist/super-editor/chunks/{toolbar-CNZlFQqH.js → toolbar-Y35iEgmH.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-CNZlFQqH.js.map → toolbar-Y35iEgmH.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/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 -5
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/super-editor.es-B1h1d98o.js.map +0 -1
|
@@ -18146,7 +18146,7 @@ function translateMark(mark) {
|
|
|
18146
18146
|
markElement.attributes["w:line"] = linesToTwips(attrs.lineHeight);
|
|
18147
18147
|
break;
|
|
18148
18148
|
case "highlight":
|
|
18149
|
-
markElement.attributes["w:fill"] = attrs.color
|
|
18149
|
+
markElement.attributes["w:fill"] = attrs.color?.substring(1);
|
|
18150
18150
|
markElement.attributes["w:color"] = "auto";
|
|
18151
18151
|
markElement.attributes["w:val"] = "clear";
|
|
18152
18152
|
markElement.name = "w:shd";
|
|
@@ -20662,7 +20662,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
20662
20662
|
return;
|
|
20663
20663
|
}
|
|
20664
20664
|
}
|
|
20665
|
-
static updateDocumentVersion(docx = this.convertedXml, version = "0.7.
|
|
20665
|
+
static updateDocumentVersion(docx = this.convertedXml, version = "0.7.12") {
|
|
20666
20666
|
const customLocation = "docProps/custom.xml";
|
|
20667
20667
|
if (!docx[customLocation]) {
|
|
20668
20668
|
docx[customLocation] = generateCustomXml();
|
|
@@ -20935,7 +20935,7 @@ function storeSuperdocVersion(docx) {
|
|
|
20935
20935
|
function generateCustomXml() {
|
|
20936
20936
|
return DEFAULT_CUSTOM_XML;
|
|
20937
20937
|
}
|
|
20938
|
-
function generateSuperdocVersion(pid = 2, version = "0.7.
|
|
20938
|
+
function generateSuperdocVersion(pid = 2, version = "0.7.12") {
|
|
20939
20939
|
return {
|
|
20940
20940
|
type: "element",
|
|
20941
20941
|
name: "property",
|
|
@@ -35598,7 +35598,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
35598
35598
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
35599
35599
|
*/
|
|
35600
35600
|
processCollaborationMigrations() {
|
|
35601
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.7.
|
|
35601
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.7.12");
|
|
35602
35602
|
if (!this.options.ydoc) return;
|
|
35603
35603
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
35604
35604
|
let docVersion = metaMap.get("version");
|
|
@@ -59119,4 +59119,4 @@ export {
|
|
|
59119
59119
|
helpers as l,
|
|
59120
59120
|
index as m
|
|
59121
59121
|
};
|
|
59122
|
-
//# sourceMappingURL=super-editor.es-
|
|
59122
|
+
//# sourceMappingURL=super-editor.es-Ds8z4efe.js.map
|