@innovastudio/contentbox 1.6.146 → 1.6.148

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.146",
4
+ "version": "1.6.148",
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.142",
62
+ "@innovastudio/contentbuilder": "^1.5.143",
63
63
  "js-beautify": "^1.14.0",
64
64
  "sortablejs": "^1.15.2"
65
65
  }
@@ -105100,13 +105100,19 @@ class Lightbox {
105100
105100
  autoplayVideos: true,
105101
105101
  skin: 'light'
105102
105102
  };
105103
- if (builder.isContentBox) {
105104
- this.util.refreshLightbox(this.lightboxOptions);
105103
+
105104
+ /*
105105
+ if(builder.isContentBox) {
105106
+ this.util.refreshLightbox(this.lightboxOptions);
105105
105107
  } else {
105106
- const glightbox = new GlightboxInit(this.lightboxOptions); // css applied from contentbuilder.css
105107
- glightbox.init();
105108
- this.builder.glightbox = glightbox;
105108
+ const glightbox = new GlightboxInit(this.lightboxOptions); // css applied from contentbuilder.css
105109
+ glightbox.init();
105110
+ this.builder.glightbox = glightbox;
105109
105111
  }
105112
+ */
105113
+ const glightbox = new GlightboxInit(this.lightboxOptions); // css applied from contentbuilder.css
105114
+ glightbox.init();
105115
+ this.builder.glightbox = glightbox;
105110
105116
  }
105111
105117
  openImage(url) {
105112
105118
  this.openLightbox(url, this.lightboxOptions);
@@ -157620,13 +157626,10 @@ class ContentBox {
157620
157626
  // Option for self-hosted fonts:
157621
157627
  // fontPath: 'assets/cssfonts/', // If set, will be used
157622
157628
  plugins: [// { name: 'preview', showInMainToolbar: true, showInElementToolbar: true },
157623
- // { name: 'symbols', showInMainToolbar: true, showInElementToolbar: false },
157624
- // { name: 'animation', showInMainToolbar: true, showInElementToolbar: true },
157625
- {
157626
- name: 'wordcount',
157627
- showInMainToolbar: true,
157628
- showInElementToolbar: true
157629
- }],
157629
+ // { name: 'symbols', showInMainToolbar: true, showInElementToolbar: false },
157630
+ // { name: 'animation', showInMainToolbar: true, showInElementToolbar: true },
157631
+ // { name: 'wordcount', showInMainToolbar: true, showInElementToolbar: true }
157632
+ ],
157630
157633
  disableConfig: true,
157631
157634
  maxColumns: 6,
157632
157635
  useLightbox: true,