@innovastudio/contentbuilder 1.2.8 → 1.2.11

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
- "version": "1.2.8",
3
+ "version": "1.2.11",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
@@ -21464,7 +21464,7 @@ const renderSnippetPanel = builder => {
21464
21464
  });
21465
21465
  }
21466
21466
  });
21467
- dropDown.toggle();
21467
+ dropDown.toggle(false);
21468
21468
 
21469
21469
  if (builder.opts.snippetList === '#divSnippetList') {
21470
21470
  snippetPanel.querySelector('.selectsnippet').style.display = 'none';
@@ -52435,8 +52435,8 @@ class Element$1 {
52435
52435
  setTimeout(() => {
52436
52436
  // In case of add snippet, after apply behavior, snippet will be automatically clicked/selected.
52437
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';
52438
+ if (overlay.closest('.elm-active')) {
52439
+ overlay.click(); // overlay.style.display = 'none';
52440
52440
  } else {
52441
52441
  overlay.style.display = '';
52442
52442
  }