@innovastudio/contentbox 1.6.163 → 1.6.164
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.
|
|
4
|
+
"version": "1.6.164",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
|
7
7
|
"types": "index.d.ts",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"ws": "^8.13.0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@innovastudio/contentbuilder": "^1.5.
|
|
62
|
+
"@innovastudio/contentbuilder": "^1.5.162",
|
|
63
63
|
"js-beautify": "^1.14.0",
|
|
64
64
|
"sortablejs": "^1.15.2"
|
|
65
65
|
}
|
|
@@ -33705,6 +33705,7 @@ class Util$1 {
|
|
|
33705
33705
|
// when column has just been deleted
|
|
33706
33706
|
row = this.rowSelected();
|
|
33707
33707
|
}
|
|
33708
|
+
if (!row) return;
|
|
33708
33709
|
this.colTool = row.querySelector('.is-col-tool');
|
|
33709
33710
|
if (!this.colTool) return; // when drag block as a new section
|
|
33710
33711
|
|
|
@@ -41531,7 +41532,7 @@ class HtmlUtil {
|
|
|
41531
41532
|
});
|
|
41532
41533
|
}
|
|
41533
41534
|
}
|
|
41534
|
-
applyHtml(modal) {
|
|
41535
|
+
async applyHtml(modal) {
|
|
41535
41536
|
const util = this.builder.util;
|
|
41536
41537
|
const cell = util.cellSelected();
|
|
41537
41538
|
if (cell) cell.parentNode.classList.add('row-active'); // add row-select class back
|
|
@@ -41657,7 +41658,7 @@ class HtmlUtil {
|
|
|
41657
41658
|
util.clearControls(); // NEW
|
|
41658
41659
|
|
|
41659
41660
|
// Re-init plugins
|
|
41660
|
-
if (this.builder.win.builderRuntime) this.builder.win.builderRuntime.reinitialize();
|
|
41661
|
+
if (this.builder.win.builderRuntime) await this.builder.win.builderRuntime.reinitialize();
|
|
41661
41662
|
this.builder.hideModal(modal);
|
|
41662
41663
|
}
|
|
41663
41664
|
viewHtmlExternal() {
|