@innovastudio/contentbuilder 1.5.161 → 1.5.162
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
|
@@ -6531,6 +6531,7 @@ class Util {
|
|
|
6531
6531
|
// when column has just been deleted
|
|
6532
6532
|
row = this.rowSelected();
|
|
6533
6533
|
}
|
|
6534
|
+
if (!row) return;
|
|
6534
6535
|
this.colTool = row.querySelector('.is-col-tool');
|
|
6535
6536
|
if (!this.colTool) return; // when drag block as a new section
|
|
6536
6537
|
|
|
@@ -14357,7 +14358,7 @@ class HtmlUtil {
|
|
|
14357
14358
|
});
|
|
14358
14359
|
}
|
|
14359
14360
|
}
|
|
14360
|
-
applyHtml(modal) {
|
|
14361
|
+
async applyHtml(modal) {
|
|
14361
14362
|
const util = this.builder.util;
|
|
14362
14363
|
const cell = util.cellSelected();
|
|
14363
14364
|
if (cell) cell.parentNode.classList.add('row-active'); // add row-select class back
|
|
@@ -14483,7 +14484,7 @@ class HtmlUtil {
|
|
|
14483
14484
|
util.clearControls(); // NEW
|
|
14484
14485
|
|
|
14485
14486
|
// Re-init plugins
|
|
14486
|
-
if (this.builder.win.builderRuntime) this.builder.win.builderRuntime.reinitialize();
|
|
14487
|
+
if (this.builder.win.builderRuntime) await this.builder.win.builderRuntime.reinitialize();
|
|
14487
14488
|
this.builder.hideModal(modal);
|
|
14488
14489
|
}
|
|
14489
14490
|
viewHtmlExternal() {
|