@innovastudio/contentbuilder 1.4.21 → 1.4.22
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
@@ -79240,6 +79240,8 @@ class ContentBuilder {
|
|
79240
79240
|
if (modal) this.hideModal(modal);
|
79241
79241
|
modal = document.querySelector('.is-modal.mediaselect.active');
|
79242
79242
|
if (modal) this.hideModal(modal);
|
79243
|
+
modal = document.querySelector('.is-modal.otherselect.active');
|
79244
|
+
if (modal) this.hideModal(modal);
|
79243
79245
|
}
|
79244
79246
|
}
|
79245
79247
|
|
@@ -79315,7 +79317,7 @@ class ContentBuilder {
|
|
79315
79317
|
});
|
79316
79318
|
} else {
|
79317
79319
|
let iframe;
|
79318
|
-
let modal = this.builderStuff.querySelector('.is-modal.
|
79320
|
+
let modal = this.builderStuff.querySelector('.is-modal.otherselect');
|
79319
79321
|
iframe = modal.querySelector('iframe');
|
79320
79322
|
if (iframe.src === 'about:blank') iframe.src = this.opts.otherSelect;
|
79321
79323
|
this.util.showModal(modal);
|
@@ -80211,12 +80213,15 @@ class ContentBuilder {
|
|
80211
80213
|
let modal1 = document.querySelector('.is-modal.videoselect');
|
80212
80214
|
let modal2 = document.querySelector('.is-modal.imageselect');
|
80213
80215
|
let modal3 = document.querySelector('.is-modal.fileselect');
|
80216
|
+
let modal4 = document.querySelector('.is-modal.otherselect');
|
80214
80217
|
let modalIframe1 = modal1.querySelector('iframe');
|
80215
80218
|
let modalIframe2 = modal2.querySelector('iframe');
|
80216
80219
|
let modalIframe3 = modal3.querySelector('iframe');
|
80220
|
+
let modalIframe4 = modal4.querySelector('iframe');
|
80217
80221
|
if (modalIframe1.contentWindow.applyParentStyles) modalIframe1.contentWindow.applyParentStyles();
|
80218
80222
|
if (modalIframe2.contentWindow.applyParentStyles) modalIframe2.contentWindow.applyParentStyles();
|
80219
80223
|
if (modalIframe3.contentWindow.applyParentStyles) modalIframe3.contentWindow.applyParentStyles();
|
80224
|
+
if (modalIframe4.contentWindow.applyParentStyles) modalIframe4.contentWindow.applyParentStyles();
|
80220
80225
|
}
|
80221
80226
|
|
80222
80227
|
openMedia(elm) {
|