@innovastudio/contentbox 1.6.164 → 1.6.165

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.164",
4
+ "version": "1.6.165",
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.162",
62
+ "@innovastudio/contentbuilder": "^1.5.163",
63
63
  "js-beautify": "^1.14.0",
64
64
  "sortablejs": "^1.15.2"
65
65
  }
@@ -12326,7 +12326,7 @@ class SettingsUIGenerator$1 {
12326
12326
  const plugin = this.runtime.getPlugin(pluginName);
12327
12327
 
12328
12328
  if (!plugin || !plugin.settings) {
12329
- console.warn(`Plugin "${pluginName}" has no settings schema`);
12329
+ // console.warn(`Plugin "${pluginName}" has no settings schema`);
12330
12330
  return this.createEmptyForm();
12331
12331
  }
12332
12332
 
@@ -33054,6 +33054,9 @@ class Util$1 {
33054
33054
 
33055
33055
  //Trigger Render event
33056
33056
  this.builder.opts.onRender();
33057
+
33058
+ // Reinit after drag drop block
33059
+ if (this.builder.win.builderRuntime) this.builder.win.builderRuntime.reinitialize();
33057
33060
  }
33058
33061
  clearActiveCell() {
33059
33062
  // this.builder.lastActiveCol = this.cellSelected(); // get active cell before cleared (will be used by snippets dialog)
@@ -125053,6 +125056,9 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
125053
125056
 
125054
125057
  // After snippet has been added, re-apply behavior on builder areas
125055
125058
  this.applyBehaviorOn(builder);
125059
+
125060
+ // Reinit after drag drop block
125061
+ if (this.win.builderRuntime) this.win.builderRuntime.reinitialize(builder);
125056
125062
  if (newRows.length > 0) {
125057
125063
  let newRow = newRows[0]; // get first added row
125058
125064
  if (newRow.children.length > 0) {
@@ -125125,8 +125131,9 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
125125
125131
  this.setZoomOnControl(builder);
125126
125132
 
125127
125133
  // Re-init plugins
125128
- if (this.win.builderRuntime) this.win.builderRuntime.reinitialize(builder);
125134
+ // if(this.win.builderRuntime) this.win.builderRuntime.reinitialize(builder);
125129
125135
  }
125136
+
125130
125137
  applySortableGrid() {
125131
125138
  if (this.iframe) {
125132
125139
  const oldCss = this.contentStuff.querySelector('#css-scale');
@@ -129538,6 +129545,9 @@ Please obtain a license at: https://innovastudio.com/contentbox`);
129538
129545
 
129539
129546
  // // Hide element tool
129540
129547
  // this.elmTool.hide();
129548
+
129549
+ // Reinit after drag drop block
129550
+ if (this.win.builderRuntime) this.win.builderRuntime.reinitialize();
129541
129551
  }
129542
129552
 
129543
129553
  // this.sortableOnPage.option('draggable', '.dummy');