@innovastudio/contentbox 1.5.61 → 1.5.62
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.5.
|
4
|
+
"version": "1.5.62",
|
5
5
|
"description": "",
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
7
7
|
"files": [
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"ws": "^8.13.0"
|
51
51
|
},
|
52
52
|
"dependencies": {
|
53
|
-
"@innovastudio/contentbuilder": "^1.4.
|
53
|
+
"@innovastudio/contentbuilder": "^1.4.80",
|
54
54
|
"js-beautify": "^1.14.0"
|
55
55
|
}
|
56
56
|
}
|
@@ -99304,7 +99304,7 @@ class Dictation {
|
|
99304
99304
|
<span style="margin-left:5px">${this.util.out('Abort')}</span>
|
99305
99305
|
`;
|
99306
99306
|
const ovl = this.builderStuff.querySelector('.page-command-overlay');
|
99307
|
-
ovl.style.display = 'flex';
|
99307
|
+
if (ovl) ovl.style.display = 'flex';
|
99308
99308
|
this.builder.isInProgress = true;
|
99309
99309
|
}
|
99310
99310
|
finish() {
|
@@ -99312,7 +99312,7 @@ class Dictation {
|
|
99312
99312
|
const btnSend = this.modalCommand.querySelector('.cmd-send-command');
|
99313
99313
|
btnSend.innerText = this.util.out('Send');
|
99314
99314
|
const ovl = this.builderStuff.querySelector('.page-command-overlay');
|
99315
|
-
ovl.style.display = 'none';
|
99315
|
+
if (ovl) ovl.style.display = 'none';
|
99316
99316
|
}
|
99317
99317
|
}
|
99318
99318
|
|
@@ -116016,6 +116016,8 @@ class Command {
|
|
116016
116016
|
if (val === 'remove') {
|
116017
116017
|
const activeSection = this.builder.activeSection;
|
116018
116018
|
activeSection.parentNode.removeChild(activeSection);
|
116019
|
+
this.builder.activeSection = null;
|
116020
|
+
this.builder.activeBox = null;
|
116019
116021
|
}
|
116020
116022
|
|
116021
116023
|
this.builder.sectionStack();
|
@@ -116849,6 +116851,8 @@ ${currentHtml}`;
|
|
116849
116851
|
this.builder.editor.saveForUndo();
|
116850
116852
|
const activeSection = this.builder.activeSection;
|
116851
116853
|
activeSection.parentNode.removeChild(activeSection);
|
116854
|
+
this.builder.activeSection = null;
|
116855
|
+
this.builder.activeBox = null;
|
116852
116856
|
this.builder.settings.onChange();
|
116853
116857
|
return false;
|
116854
116858
|
} else if (intent === 'add_content') {
|