@arc-fusion/pb-editor-wrapper
Advanced tools
Comparing version 0.0.375 to 0.0.376
@@ -42,6 +42,5 @@ "use strict"; | ||
addMouseEventsToSiblings(enterNode); | ||
var nextElement = enterNode === null || enterNode === void 0 ? void 0 : enterNode.nextSibling; // observe enterNode with no added siblings | ||
var nextElement = enterNode === null || enterNode === void 0 ? void 0 : enterNode.nextSibling; // observe enterNode with no added siblings or a sibling with no children | ||
if (nextElement !== null && nextElement !== void 0 && nextElement.matches && nextElement.matches("[data-fusion-component=\"".concat(fingerprint, "\"]")) || nextElement !== null && nextElement !== void 0 && nextElement.hasChildNodes && !nextElement.hasChildNodes()) { | ||
console.log('ENTER', enterNode); | ||
observeBoundaries(enterNode); | ||
@@ -75,4 +74,2 @@ } | ||
addMouseEventsToSiblings(enterNode); | ||
} else { | ||
observer.disconnect(); | ||
} | ||
@@ -79,0 +76,0 @@ } |
{ | ||
"name": "@arc-fusion/pb-editor-wrapper", | ||
"description": "PageBuilder Preview Wrapper", | ||
"version": "0.0.375", | ||
"version": "0.0.376", | ||
"module": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
10770
155