@innovastudio/contentbuilder 1.4.20 → 1.4.21
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
@@ -2036,11 +2036,12 @@ button:focus-visible {
|
|
2036
2036
|
.is-ui .is-modal div.is-modal-footer button {
|
2037
2037
|
margin-left: 2px;
|
2038
2038
|
}
|
2039
|
-
#_cbhtml .is-modal.fileselect, #_cbhtml .is-modal.mediaselect, #_cbhtml .is-modal.imageselect, #_cbhtml .is-modal.videoselect,
|
2039
|
+
#_cbhtml .is-modal.fileselect, #_cbhtml .is-modal.mediaselect, #_cbhtml .is-modal.imageselect, #_cbhtml .is-modal.videoselect, #_cbhtml .is-modal.otherselect,
|
2040
2040
|
.is-ui .is-modal.fileselect,
|
2041
2041
|
.is-ui .is-modal.mediaselect,
|
2042
2042
|
.is-ui .is-modal.imageselect,
|
2043
|
-
.is-ui .is-modal.videoselect
|
2043
|
+
.is-ui .is-modal.videoselect,
|
2044
|
+
.is-ui .is-modal.otherselect {
|
2044
2045
|
z-index: 10005;
|
2045
2046
|
}
|
2046
2047
|
#_cbhtml .is-modal.previewcontent,
|
@@ -50106,7 +50106,7 @@ class Image$1 {
|
|
50106
50106
|
theTrigger: modalImageLink.querySelector('.input-select-other')
|
50107
50107
|
});
|
50108
50108
|
} else {
|
50109
|
-
let modalFileSelect = builderStuff.querySelector('.is-modal.
|
50109
|
+
let modalFileSelect = builderStuff.querySelector('.is-modal.otherselect');
|
50110
50110
|
|
50111
50111
|
if (this.builder.opts.assetRefresh) {
|
50112
50112
|
modalFileSelect.querySelector('iframe').src = this.builder.opts.otherSelect;
|
@@ -52841,6 +52841,11 @@ class Hyperlink {
|
|
52841
52841
|
<iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
|
52842
52842
|
</div>
|
52843
52843
|
</div>
|
52844
|
+
<div class="is-modal otherselect" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
|
52845
|
+
<div class="is-modal-content" style="max-width:${this.builder.otherSelectWidth};height:${this.builder.otherSelectHeight};padding:0;">
|
52846
|
+
<iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
|
52847
|
+
</div>
|
52848
|
+
</div>
|
52844
52849
|
`;
|
52845
52850
|
dom.appendHtml(builderStuff, html);
|
52846
52851
|
|
@@ -53313,7 +53318,7 @@ class Hyperlink {
|
|
53313
53318
|
theTrigger: modal.querySelector('.input-select-other')
|
53314
53319
|
});
|
53315
53320
|
} else {
|
53316
|
-
let modalFileSelect = this.builderStuff.querySelector('.is-modal.
|
53321
|
+
let modalFileSelect = this.builderStuff.querySelector('.is-modal.otherselect');
|
53317
53322
|
|
53318
53323
|
if (this.builder.opts.assetRefresh) {
|
53319
53324
|
modalFileSelect.querySelector('iframe').src = this.builder.opts.otherSelect;
|
@@ -60387,7 +60392,7 @@ class ColumnTool {
|
|
60387
60392
|
theTrigger: this.cellSettings.querySelector('.input-select-other')
|
60388
60393
|
});
|
60389
60394
|
} else {
|
60390
|
-
let modalFileSelect = builderStuff.querySelector('.is-modal.
|
60395
|
+
let modalFileSelect = builderStuff.querySelector('.is-modal.otherselect');
|
60391
60396
|
|
60392
60397
|
if (this.builder.opts.assetRefresh) {
|
60393
60398
|
modalFileSelect.querySelector('iframe').src = this.builder.opts.otherSelect;
|
@@ -77468,6 +77473,8 @@ class ContentBuilder {
|
|
77468
77473
|
audioSelectHeight: '80vh',
|
77469
77474
|
mediaSelectWidth: '1024px',
|
77470
77475
|
mediaSelectHeight: '80vh',
|
77476
|
+
otherSelectWidth: '1024px',
|
77477
|
+
otherSelectHeight: '80vh',
|
77471
77478
|
assetRefresh: false,
|
77472
77479
|
// asset manager specified in imageSelect, fileSelect & videoSelect will always refreshed on click/open
|
77473
77480
|
customTags: [],
|