@harbour-enterprises/superdoc 0.6.108 → 0.6.109

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.
@@ -20629,7 +20629,7 @@ const _SuperConverter = class _SuperConverter2 {
20629
20629
  return;
20630
20630
  }
20631
20631
  }
20632
- static updateDocumentVersion(docx = this.convertedXml, version = "0.6.108") {
20632
+ static updateDocumentVersion(docx = this.convertedXml, version = "0.6.109") {
20633
20633
  const customLocation = "docProps/custom.xml";
20634
20634
  if (!docx[customLocation]) {
20635
20635
  docx[customLocation] = generateCustomXml();
@@ -20902,7 +20902,7 @@ function storeSuperdocVersion(docx) {
20902
20902
  function generateCustomXml() {
20903
20903
  return DEFAULT_CUSTOM_XML;
20904
20904
  }
20905
- function generateSuperdocVersion(pid = 2, version = "0.6.108") {
20905
+ function generateSuperdocVersion(pid = 2, version = "0.6.109") {
20906
20906
  return {
20907
20907
  type: "element",
20908
20908
  name: "property",
@@ -35128,7 +35128,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
35128
35128
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
35129
35129
  */
35130
35130
  processCollaborationMigrations() {
35131
- console.debug("[checkVersionMigrations] Current editor version", "0.6.108");
35131
+ console.debug("[checkVersionMigrations] Current editor version", "0.6.109");
35132
35132
  if (!this.options.ydoc) return;
35133
35133
  const metaMap = this.options.ydoc.getMap("meta");
35134
35134
  let docVersion = metaMap.get("version");
@@ -42045,7 +42045,7 @@ const Highlight = Mark2.create({
42045
42045
  return {
42046
42046
  color: {
42047
42047
  default: null,
42048
- parseHTML: (element) => element.getAttribute("data-color") || element.style.backgroundColor,
42048
+ parseDOM: (element) => element.getAttribute("data-color") || element.style.backgroundColor,
42049
42049
  renderDOM: (attributes) => {
42050
42050
  if (!attributes.color) {
42051
42051
  return {};
@@ -58632,4 +58632,4 @@ export {
58632
58632
  helpers as k,
58633
58633
  index as l
58634
58634
  };
58635
- //# sourceMappingURL=super-editor.es-B1Y6_Nfc.js.map
58635
+ //# sourceMappingURL=super-editor.es-C7tEm6AU.js.map