@innovastudio/contentbuilder 1.4.50 → 1.4.51

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.4.50",
4
+ "version": "1.4.51",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -3941,6 +3941,11 @@ class Util {
3941
3941
  }
3942
3942
 
3943
3943
  confirm(message, callback, yesno, yestext) {
3944
+ if (!this.builder.deleteConfirm) {
3945
+ callback(true);
3946
+ return;
3947
+ }
3948
+
3944
3949
  const dom = this.dom;
3945
3950
  let html = '';
3946
3951
  html = `<div class="is-modal is-confirm" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
@@ -78301,6 +78306,7 @@ class ContentBuilder {
78301
78306
  lightboxArrow: true,
78302
78307
  imageRenameOnEdit: true,
78303
78308
  disableAutoEmbedVideo: false,
78309
+ deleteConfirm: false,
78304
78310
  sectionTemplate: `
78305
78311
  <div class="is-section is-box is-section-100 type-opensans">
78306
78312
  <div class="is-overlay"></div>