@innovastudio/contentbuilder 1.4.142 → 1.4.143

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/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.4.142",
4
+ "version": "1.4.143",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -18282,8 +18282,8 @@ const renderSnippetPanel = (builder, snippetOpen) => {
18282
18282
  obj.destroy();
18283
18283
  }
18284
18284
  });
18285
- if (builder.sortableOnPage) builder.sortableOnPage.destroy();
18286
18285
  }
18286
+ if (builder.sortableOnPage) builder.sortableOnPage.destroy();
18287
18287
  let dummies = builder.doc.querySelectorAll('.block-dummy');
18288
18288
  dummies.forEach(elm => elm.parentNode.removeChild(elm));
18289
18289
  }
@@ -77334,16 +77334,16 @@ class ContentBuilder {
77334
77334
  // Hide element tool
77335
77335
  this.elmTool.hide();
77336
77336
 
77337
- // destroy
77338
- if (this.sortableOnCanvas) {
77339
- this.sortableOnCanvas.forEach(obj => {
77340
- if (obj) {
77341
- obj.destroy();
77342
- }
77343
- });
77344
- let dummies = this.doc.querySelectorAll('.block-dummy');
77345
- dummies.forEach(elm => elm.parentNode.removeChild(elm));
77346
- }
77337
+ // // destroy
77338
+ // if(this.sortableOnCanvas) {
77339
+ // this.sortableOnCanvas.forEach(obj=>{
77340
+ // if(obj) {
77341
+ // obj.destroy();
77342
+ // }
77343
+ // });
77344
+ // let dummies = this.doc.querySelectorAll('.block-dummy');
77345
+ // dummies.forEach(elm=>elm.parentNode.removeChild(elm));
77346
+ // }
77347
77347
 
77348
77348
  // if(this.sortableOnPage) this.sortableOnPage.destroy();
77349
77349
  }