@zipify/wysiwyg 1.0.0-dev.53 → 1.0.0-dev.54

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/wysiwyg.mjs CHANGED
@@ -16183,7 +16183,7 @@ const rB = te.create({
16183
16183
  isRequired: !1,
16184
16184
  default: { id: this.options.defaultId },
16185
16185
  parseHTML: (r) => {
16186
- const e = this.options.presets;
16186
+ const e = this.options.presets.value || this.options.presets;
16187
16187
  if (r.parentElement.tagName === "LI")
16188
16188
  return null;
16189
16189
  for (const { id: t, node: n, fallbackClass: i } of e) {
@@ -17429,7 +17429,7 @@ const $B = je.create({
17429
17429
  if (!e.startsWith("#"))
17430
17430
  return ht.URL;
17431
17431
  const t = e.replace("#", "");
17432
- return this.options.pageBlocksRef.value.find((i) => i.id === parseInt(t)) ? ht.BLOCK : ht.URL;
17432
+ return this.options.pageBlocks.value.find((i) => i.id === parseInt(t)) ? ht.BLOCK : ht.URL;
17433
17433
  }
17434
17434
  }
17435
17435
  };