@innovastudio/contentbuilder 1.2.7 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -52431,6 +52431,16 @@ class Element$1 {
|
|
|
52431
52431
|
overlay.style.display = 'none';
|
|
52432
52432
|
});
|
|
52433
52433
|
}
|
|
52434
|
+
|
|
52435
|
+
setTimeout(() => {
|
|
52436
|
+
// In case of add snippet, after apply behavior, snippet will be automatically clicked/selected.
|
|
52437
|
+
// So check the snippet if it is selected (active). If so, hide the overlay.
|
|
52438
|
+
if (overlay.closest('.cell-active')) {
|
|
52439
|
+
overlay.style.display = 'none';
|
|
52440
|
+
} else {
|
|
52441
|
+
overlay.style.display = '';
|
|
52442
|
+
}
|
|
52443
|
+
}, 300);
|
|
52434
52444
|
});
|
|
52435
52445
|
}
|
|
52436
52446
|
|