@innovastudio/contentbox 1.6.41 → 1.6.42

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.41",
4
+ "version": "1.6.42",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -23660,6 +23660,10 @@ class Element$2 {
23660
23660
  }
23661
23661
 
23662
23662
  open() {
23663
+ if (document.body.classList.contains('controlpanel')) ; else {
23664
+ this.builder.controlpanel.open_(); // Force open
23665
+ }
23666
+
23663
23667
  this.dialog.style.display = 'flex';
23664
23668
  this.getState();
23665
23669
  }
@@ -25199,6 +25203,12 @@ class ControlPanel {
25199
25203
  this.clearPreview();
25200
25204
  this.breadcrumbRender(what);
25201
25205
 
25206
+ if (what === 'element' || what === 'column' || what === 'row' || what === 'box' || what === 'section') {
25207
+ if (document.body.classList.contains('controlpanel')) ; else {
25208
+ this.open_(); // Force open
25209
+ }
25210
+ }
25211
+
25202
25212
  if (what === 'element') {
25203
25213
  let element = this.activeElement;
25204
25214