@innovastudio/contentbox 1.6.41 → 1.6.43
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@innovastudio/contentbox",
|
3
3
|
"type": "module",
|
4
|
-
"version": "1.6.
|
4
|
+
"version": "1.6.43",
|
5
5
|
"description": "",
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
7
7
|
"files": [
|
@@ -52,7 +52,7 @@
|
|
52
52
|
"ws": "^8.13.0"
|
53
53
|
},
|
54
54
|
"dependencies": {
|
55
|
-
"@innovastudio/contentbuilder": "^1.5.
|
55
|
+
"@innovastudio/contentbuilder": "^1.5.27",
|
56
56
|
"js-beautify": "^1.14.0"
|
57
57
|
}
|
58
58
|
}
|
@@ -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
|
|
@@ -113008,6 +113018,7 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
113008
113018
|
},
|
113009
113019
|
onEditStart: (event, block) => {
|
113010
113020
|
let activeBlock = this.doc.querySelector('.is-block.cloned');
|
113021
|
+
if (!activeBlock) activeBlock = this.doc.querySelector('.is-block.active');
|
113011
113022
|
if (!activeBlock) return;
|
113012
113023
|
const container = activeBlock.querySelector('.is-container');
|
113013
113024
|
if (!container) return;
|