@harbour-enterprises/superdoc 0.9.6 → 0.9.8

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.
@@ -14694,7 +14694,7 @@ const rs = class Uv {
14694
14694
  return;
14695
14695
  }
14696
14696
  }
14697
- static updateDocumentVersion(e = this.convertedXml, n = "0.9.6") {
14697
+ static updateDocumentVersion(e = this.convertedXml, n = "0.9.8") {
14698
14698
  const r = "docProps/custom.xml";
14699
14699
  e[r] || (e[r] = Vv());
14700
14700
  const o = e["docProps/custom.xml"];
@@ -14894,7 +14894,7 @@ function mT(t) {
14894
14894
  function Vv() {
14895
14895
  return iE;
14896
14896
  }
14897
- function Hv(t = 2, e = "0.9.6") {
14897
+ function Hv(t = 2, e = "0.9.8") {
14898
14898
  return {
14899
14899
  type: "element",
14900
14900
  name: "property",
@@ -25867,7 +25867,7 @@ const aD = class R2 extends dO {
25867
25867
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
25868
25868
  */
25869
25869
  processCollaborationMigrations() {
25870
- if (console.debug("[checkVersionMigrations] Current editor version", "0.9.6"), !this.options.ydoc) return;
25870
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.9.8"), !this.options.ydoc) return;
25871
25871
  let e = this.options.ydoc.getMap("meta").get("version");
25872
25872
  e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
25873
25873
  const n = _y(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
@@ -27592,10 +27592,10 @@ const ex = ut.create({
27592
27592
  extraAttrs: {
27593
27593
  default: {},
27594
27594
  parseHTML: (t) => {
27595
- const e = ["spacing", "indent", "class"], n = {};
27596
- return console.debug("--ELEMENT--", t), Array.from(t.attributes).forEach((r) => {
27597
- e.includes(r.name) || (n[r.name] = r.value);
27598
- }), n;
27595
+ const e = {};
27596
+ return Array.from(t.attributes).forEach((n) => {
27597
+ e[n.name] = n.value;
27598
+ }), e;
27599
27599
  },
27600
27600
  renderDOM: (t) => t.extraAttrs || {}
27601
27601
  },
@@ -27619,11 +27619,10 @@ const ex = ut.create({
27619
27619
  return [{
27620
27620
  tag: "p",
27621
27621
  getAttrs: (t) => {
27622
- const e = ["spacing", "indent", "class"];
27623
- let n = {};
27624
- return Array.from(t.attributes).forEach((r) => {
27625
- e.includes(r.name) || (n[r.name] = r.value);
27626
- }), { extraAttrs: n };
27622
+ let e = {};
27623
+ return Array.from(t.attributes).forEach((n) => {
27624
+ e[n.name] = n.value;
27625
+ }), { extraAttrs: e };
27627
27626
  }
27628
27627
  }];
27629
27628
  },