@arc-fusion/pb-editor-wrapper
Advanced tools
Comparing version 0.0.359 to 0.0.360
@@ -49,13 +49,11 @@ "use strict"; | ||
function observeBoundaries(enterNode) { | ||
var boundaryNode = enterNode.previousSibling; | ||
var config = { | ||
attributes: true, | ||
subtree: true, | ||
characterData: true | ||
subtree: true | ||
}; | ||
var observer = new MutationObserver(callback); | ||
observer.observe(boundaryNode, config); | ||
observer.observe(enterNode, config); | ||
function callback(mutationsList) { | ||
console.log('THIS IS WORKING'); | ||
console.log('this is working'); | ||
@@ -62,0 +60,0 @@ var _iterator = _createForOfIteratorHelper(mutationsList), |
{ | ||
"name": "@arc-fusion/pb-editor-wrapper", | ||
"description": "PageBuilder Preview Wrapper", | ||
"version": "0.0.359", | ||
"version": "0.0.360", | ||
"module": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
10335
160