@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.
@@ -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.substring(1);
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.11") {
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.11") {
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.11");
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-B1h1d98o.js.map
59122
+ //# sourceMappingURL=super-editor.es-Ds8z4efe.js.map