@innovastudio/contentbox 1.5.21 → 1.5.22
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.
|
4
|
+
"version": "1.5.22",
|
5
5
|
"description": "",
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
7
7
|
"files": [
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"webpack-dev-server": "^4.0.0"
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
|
-
"@innovastudio/contentbuilder": "^1.4.
|
49
|
+
"@innovastudio/contentbuilder": "^1.4.22",
|
50
50
|
"js-beautify": "^1.14.0"
|
51
51
|
}
|
52
52
|
}
|
@@ -93613,6 +93613,8 @@ class ContentBuilder {
|
|
93613
93613
|
if (modal) this.hideModal(modal);
|
93614
93614
|
modal = document.querySelector('.is-modal.mediaselect.active');
|
93615
93615
|
if (modal) this.hideModal(modal);
|
93616
|
+
modal = document.querySelector('.is-modal.otherselect.active');
|
93617
|
+
if (modal) this.hideModal(modal);
|
93616
93618
|
}
|
93617
93619
|
}
|
93618
93620
|
|
@@ -93688,7 +93690,7 @@ class ContentBuilder {
|
|
93688
93690
|
});
|
93689
93691
|
} else {
|
93690
93692
|
let iframe;
|
93691
|
-
let modal = this.builderStuff.querySelector('.is-modal.
|
93693
|
+
let modal = this.builderStuff.querySelector('.is-modal.otherselect');
|
93692
93694
|
iframe = modal.querySelector('iframe');
|
93693
93695
|
if (iframe.src === 'about:blank') iframe.src = this.opts.otherSelect;
|
93694
93696
|
this.util.showModal(modal);
|
@@ -94584,12 +94586,15 @@ class ContentBuilder {
|
|
94584
94586
|
let modal1 = document.querySelector('.is-modal.videoselect');
|
94585
94587
|
let modal2 = document.querySelector('.is-modal.imageselect');
|
94586
94588
|
let modal3 = document.querySelector('.is-modal.fileselect');
|
94589
|
+
let modal4 = document.querySelector('.is-modal.otherselect');
|
94587
94590
|
let modalIframe1 = modal1.querySelector('iframe');
|
94588
94591
|
let modalIframe2 = modal2.querySelector('iframe');
|
94589
94592
|
let modalIframe3 = modal3.querySelector('iframe');
|
94593
|
+
let modalIframe4 = modal4.querySelector('iframe');
|
94590
94594
|
if (modalIframe1.contentWindow.applyParentStyles) modalIframe1.contentWindow.applyParentStyles();
|
94591
94595
|
if (modalIframe2.contentWindow.applyParentStyles) modalIframe2.contentWindow.applyParentStyles();
|
94592
94596
|
if (modalIframe3.contentWindow.applyParentStyles) modalIframe3.contentWindow.applyParentStyles();
|
94597
|
+
if (modalIframe4.contentWindow.applyParentStyles) modalIframe4.contentWindow.applyParentStyles();
|
94593
94598
|
}
|
94594
94599
|
|
94595
94600
|
openMedia(elm) {
|