@innovastudio/contentbuilder 1.5.162 → 1.5.163

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/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.5.162",
4
+ "version": "1.5.163",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "types": "index.d.ts",
@@ -5880,6 +5880,9 @@ class Util {
5880
5880
 
5881
5881
  //Trigger Render event
5882
5882
  this.builder.opts.onRender();
5883
+
5884
+ // Reinit after drag drop block
5885
+ if (this.builder.win.builderRuntime) this.builder.win.builderRuntime.reinitialize();
5883
5886
  }
5884
5887
  clearActiveCell() {
5885
5888
  // this.builder.lastActiveCol = this.cellSelected(); // get active cell before cleared (will be used by snippets dialog)
@@ -97879,6 +97882,9 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
97879
97882
 
97880
97883
  // After snippet has been added, re-apply behavior on builder areas
97881
97884
  this.applyBehaviorOn(builder);
97885
+
97886
+ // Reinit after drag drop block
97887
+ if (this.win.builderRuntime) this.win.builderRuntime.reinitialize(builder);
97882
97888
  if (newRows.length > 0) {
97883
97889
  let newRow = newRows[0]; // get first added row
97884
97890
  if (newRow.children.length > 0) {
@@ -97951,8 +97957,9 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
97951
97957
  this.setZoomOnControl(builder);
97952
97958
 
97953
97959
  // Re-init plugins
97954
- if (this.win.builderRuntime) this.win.builderRuntime.reinitialize(builder);
97960
+ // if(this.win.builderRuntime) this.win.builderRuntime.reinitialize(builder);
97955
97961
  }
97962
+
97956
97963
  applySortableGrid() {
97957
97964
  if (this.iframe) {
97958
97965
  const oldCss = this.contentStuff.querySelector('#css-scale');
@@ -102364,6 +102371,9 @@ Please obtain a license at: https://innovastudio.com/contentbox`);
102364
102371
 
102365
102372
  // // Hide element tool
102366
102373
  // this.elmTool.hide();
102374
+
102375
+ // Reinit after drag drop block
102376
+ if (this.win.builderRuntime) this.win.builderRuntime.reinitialize();
102367
102377
  }
102368
102378
 
102369
102379
  // this.sortableOnPage.option('draggable', '.dummy');