@innovastudio/contentbox 1.5.20 → 1.5.21

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.20",
4
+ "version": "1.5.21",
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.20",
49
+ "@innovastudio/contentbuilder": "^1.4.21",
50
50
  "js-beautify": "^1.14.0"
51
51
  }
52
52
  }
@@ -64479,7 +64479,7 @@ class Image$1 {
64479
64479
  theTrigger: modalImageLink.querySelector('.input-select-other')
64480
64480
  });
64481
64481
  } else {
64482
- let modalFileSelect = builderStuff.querySelector('.is-modal.fileselect');
64482
+ let modalFileSelect = builderStuff.querySelector('.is-modal.otherselect');
64483
64483
 
64484
64484
  if (this.builder.opts.assetRefresh) {
64485
64485
  modalFileSelect.querySelector('iframe').src = this.builder.opts.otherSelect;
@@ -67214,6 +67214,11 @@ class Hyperlink {
67214
67214
  <iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
67215
67215
  </div>
67216
67216
  </div>
67217
+ <div class="is-modal otherselect" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
67218
+ <div class="is-modal-content" style="max-width:${this.builder.otherSelectWidth};height:${this.builder.otherSelectHeight};padding:0;">
67219
+ <iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
67220
+ </div>
67221
+ </div>
67217
67222
  `;
67218
67223
  dom.appendHtml(builderStuff, html);
67219
67224
 
@@ -67686,7 +67691,7 @@ class Hyperlink {
67686
67691
  theTrigger: modal.querySelector('.input-select-other')
67687
67692
  });
67688
67693
  } else {
67689
- let modalFileSelect = this.builderStuff.querySelector('.is-modal.fileselect');
67694
+ let modalFileSelect = this.builderStuff.querySelector('.is-modal.otherselect');
67690
67695
 
67691
67696
  if (this.builder.opts.assetRefresh) {
67692
67697
  modalFileSelect.querySelector('iframe').src = this.builder.opts.otherSelect;
@@ -74760,7 +74765,7 @@ class ColumnTool {
74760
74765
  theTrigger: this.cellSettings.querySelector('.input-select-other')
74761
74766
  });
74762
74767
  } else {
74763
- let modalFileSelect = builderStuff.querySelector('.is-modal.fileselect');
74768
+ let modalFileSelect = builderStuff.querySelector('.is-modal.otherselect');
74764
74769
 
74765
74770
  if (this.builder.opts.assetRefresh) {
74766
74771
  modalFileSelect.querySelector('iframe').src = this.builder.opts.otherSelect;
@@ -91841,6 +91846,8 @@ class ContentBuilder {
91841
91846
  audioSelectHeight: '80vh',
91842
91847
  mediaSelectWidth: '1024px',
91843
91848
  mediaSelectHeight: '80vh',
91849
+ otherSelectWidth: '1024px',
91850
+ otherSelectHeight: '80vh',
91844
91851
  assetRefresh: false,
91845
91852
  // asset manager specified in imageSelect, fileSelect & videoSelect will always refreshed on click/open
91846
91853
  customTags: [],