@arc-fusion/pb-editor-wrapper
Advanced tools
Comparing version 0.0.376 to 0.0.377
@@ -42,5 +42,5 @@ "use strict"; | ||
addMouseEventsToSiblings(enterNode); | ||
var nextElement = enterNode === null || enterNode === void 0 ? void 0 : enterNode.nextSibling; // observe enterNode with no added siblings or a sibling with no children | ||
var nextElement = enterNode === null || enterNode === void 0 ? void 0 : enterNode.nextSibling; // lazy load observers: check for no added siblings or a placeholder node 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()) { | ||
if (nextElement !== null && nextElement !== void 0 && nextElement.matches && nextElement.matches("[data-fusion-component=\"".concat(fingerprint, "\"]"))) { | ||
observeBoundaries(enterNode); | ||
@@ -47,0 +47,0 @@ } |
{ | ||
"name": "@arc-fusion/pb-editor-wrapper", | ||
"description": "PageBuilder Preview Wrapper", | ||
"version": "0.0.376", | ||
"version": "0.0.377", | ||
"module": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
10676