@ohhwells/bridge 0.1.88 → 0.1.89

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.js CHANGED
@@ -1876,6 +1876,7 @@ function findTemplateSection(id) {
1876
1876
  return null;
1877
1877
  }
1878
1878
  function findPlacementAnchor(id, exclude) {
1879
+ if (CHROME_SECTION_IDS.has(id)) return null;
1879
1880
  for (const el of document.querySelectorAll(`[data-ohw-section="${CSS.escape(id)}"]`)) {
1880
1881
  if (el === exclude) continue;
1881
1882
  if (el.parentElement?.closest("[data-ohw-section]")) continue;
@@ -21235,7 +21236,7 @@ function OhhwellsBridge() {
21235
21236
  postToParent2({
21236
21237
  type: "ow:ready",
21237
21238
  version: "1",
21238
- bridgeVersion: "0.1.87",
21239
+ bridgeVersion: "0.1.88",
21239
21240
  path: pathname,
21240
21241
  nodes: collectEditableNodes(editContentRef.current),
21241
21242
  sections