@arc-fusion/pb-editor-wrapper
Advanced tools
Comparing version 0.0.339 to 0.0.340
@@ -78,7 +78,6 @@ "use strict"; | ||
var incrementMutationCount = function incrementMutationCount() { | ||
console.log(mutationCount); | ||
console.log('HELLO WORLD', mutationCount); | ||
return setMutationCount(mutationCount + 1); | ||
}; | ||
(0, _useMutationObserver.default)(enterRef, incrementMutationCount); | ||
(0, _react.useEffect)(function () { | ||
@@ -89,2 +88,7 @@ if (isChain) return; | ||
addMouseEvents(siblingNodes); | ||
(0, _useMutationObserver.default)(enterRef, incrementMutationCount, { | ||
attributes: false, | ||
childList: true, | ||
subtree: false | ||
}); | ||
return function () { | ||
@@ -91,0 +95,0 @@ removeMouseEvents(siblingNodes); |
{ | ||
"name": "@arc-fusion/pb-editor-wrapper", | ||
"description": "PageBuilder Preview Wrapper", | ||
"version": "0.0.339", | ||
"version": "0.0.340", | ||
"module": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
9571
137