@ohhwells/bridge 0.1.65-next.183 → 0.1.65-next.184

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
@@ -13410,8 +13410,10 @@ function getLinkHref3(el) {
13410
13410
  }
13411
13411
  function collectEditableNodes(extraContent, root = document) {
13412
13412
  const isScoped = root !== document;
13413
- const editableEls = Array.from(root.querySelectorAll("[data-ohw-editable]"));
13414
- if (isScoped && root instanceof HTMLElement && root.matches("[data-ohw-editable]")) {
13413
+ const editableEls = Array.from(
13414
+ root.querySelectorAll('[data-ohw-editable]:not([data-ohw-editable="form"])')
13415
+ );
13416
+ if (isScoped && root instanceof HTMLElement && root.matches('[data-ohw-editable]:not([data-ohw-editable="form"])')) {
13415
13417
  editableEls.unshift(root);
13416
13418
  }
13417
13419
  const nodes = editableEls.map((el) => {