@innovastudio/contentbox 1.5.87 → 1.5.88

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/contentbox",
3
3
  "type": "module",
4
- "version": "1.5.87",
4
+ "version": "1.5.88",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -115479,6 +115479,7 @@ class ContentBox {
115479
115479
  // onPluginsLoaded: function () { },
115480
115480
  coverImageHandler: '',
115481
115481
  // onUploadCoverImage: function () { },
115482
+ showSelectCover: true,
115482
115483
  customval: '',
115483
115484
  enableAnimation: false,
115484
115485
  colors: ['#ff8f00', '#ef6c00', '#d84315', '#c62828', '#58362f', '#37474f', '#353535', '#f9a825', '#9e9d24', '#558b2f', '#ad1457', '#6a1b9a', '#4527a0', '#616161', '#00b8c9', '#009666', '#2e7d32', '#0277bd', '#1565c0', '#283593', '#9e9e9e'],
@@ -120814,9 +120815,11 @@ Add an image for each feature.`, 'Revise the headline, paragraph, and all the te
120814
120815
  boxTool.style.left = 'calc(50% - 60px)';
120815
120816
 
120816
120817
  if (this.onImageSelectClick || this.imageselect) {
120817
- boxTool.style.width = '160px';
120818
- box.querySelector('.is-select-image').style.display = 'inline-block';
120819
- boxTool.style.left = 'calc(50% - 80px)';
120818
+ if (this.showSelectCover) {
120819
+ boxTool.style.width = '160px';
120820
+ box.querySelector('.is-select-image').style.display = 'inline-block';
120821
+ boxTool.style.left = 'calc(50% - 80px)';
120822
+ }
120820
120823
  }
120821
120824
 
120822
120825
  if (box.querySelector('.is-overlay-content[data-module]').getAttribute('data-module') === 'video-bg') {
@@ -120833,9 +120836,11 @@ Add an image for each feature.`, 'Revise the headline, paragraph, and all the te
120833
120836
  boxTool.style.left = 'calc(50% - 40px)';
120834
120837
 
120835
120838
  if (this.onImageSelectClick || this.imageselect) {
120836
- boxTool.style.width = '120px';
120837
- box.querySelector('.is-select-image').style.display = 'inline-block';
120838
- boxTool.style.left = 'calc(50% - 60px)';
120839
+ if (this.showSelectCover) {
120840
+ boxTool.style.width = '120px';
120841
+ box.querySelector('.is-select-image').style.display = 'inline-block';
120842
+ boxTool.style.left = 'calc(50% - 60px)';
120843
+ }
120839
120844
  }
120840
120845
  }
120841
120846
  } // box info