@arc-fusion/pb-editor-wrapper
Advanced tools
Comparing version 0.0.373 to 0.0.375
@@ -37,4 +37,2 @@ "use strict"; | ||
(0, _react.useEffect)(function () { | ||
var _enterNode$nextSiblin; | ||
if (isChain) return; | ||
@@ -44,5 +42,7 @@ | ||
addMouseEventsToSiblings(enterNode); // observe enterNode with no added siblings | ||
addMouseEventsToSiblings(enterNode); | ||
var nextElement = enterNode === null || enterNode === void 0 ? void 0 : enterNode.nextSibling; // observe enterNode with no added siblings | ||
if (enterNode !== null && enterNode !== void 0 && (_enterNode$nextSiblin = enterNode.nextSibling) !== null && _enterNode$nextSiblin !== void 0 && _enterNode$nextSiblin.matches && enterNode.nextSibling.matches("[data-fusion-component=\"".concat(fingerprint, "\"]"))) { | ||
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); | ||
@@ -49,0 +49,0 @@ } |
{ | ||
"name": "@arc-fusion/pb-editor-wrapper", | ||
"description": "PageBuilder Preview Wrapper", | ||
"version": "0.0.373", | ||
"version": "0.0.375", | ||
"module": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
10833
158