@ohhwells/bridge 0.1.84-next.250 → 0.1.85-next.254

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/index.cjs CHANGED
@@ -18459,6 +18459,7 @@ function OhhwellsBridge() {
18459
18459
  }
18460
18460
  if (typeof content[STYLE_STORE_KEY] === "string") {
18461
18461
  stylesRef.current = content[STYLE_STORE_KEY];
18462
+ document.querySelectorAll('[data-ohw-editable="form"]').forEach((f) => markFormFields(f));
18462
18463
  applyStylesToDom(parseStyleStore(content[STYLE_STORE_KEY]));
18463
18464
  }
18464
18465
  applyBrandChrome(content);
@@ -18674,6 +18675,7 @@ function OhhwellsBridge() {
18674
18675
  applyAiSectionsToDom(parseAiSectionsState(content[AI_SECTIONS_KEY]));
18675
18676
  }
18676
18677
  if (typeof content[STYLE_STORE_KEY] === "string") {
18678
+ document.querySelectorAll('[data-ohw-editable="form"]').forEach((f) => markFormFields(f));
18677
18679
  applyStylesToDom(parseStyleStore(content[STYLE_STORE_KEY]));
18678
18680
  }
18679
18681
  for (const [key, val] of Object.entries(content)) {
@@ -20571,6 +20573,7 @@ function OhhwellsBridge() {
20571
20573
  }
20572
20574
  if (typeof content[STYLE_STORE_KEY] === "string") {
20573
20575
  stylesRef.current = content[STYLE_STORE_KEY];
20576
+ document.querySelectorAll('[data-ohw-editable="form"]').forEach((f) => markFormFields(f));
20574
20577
  applyStylesToDom(parseStyleStore(content[STYLE_STORE_KEY]));
20575
20578
  }
20576
20579
  applyBrandChrome(content);
@@ -21794,7 +21797,7 @@ function OhhwellsBridge() {
21794
21797
  postToParent2({
21795
21798
  type: "ow:ready",
21796
21799
  version: "1",
21797
- bridgeVersion: "0.1.84",
21800
+ bridgeVersion: "0.1.85",
21798
21801
  path: pathname,
21799
21802
  nodes: collectEditableNodes(editContentRef.current),
21800
21803
  sections