@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
@@ -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
|
-
|
120818
|
-
|
120819
|
-
|
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
|
-
|
120837
|
-
|
120838
|
-
|
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
|