@innovastudio/contentbox 1.5.84 → 1.5.86

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.5.84",
4
+ "version": "1.5.86",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -51,7 +51,7 @@
51
51
  "ws": "^8.13.0"
52
52
  },
53
53
  "dependencies": {
54
- "@innovastudio/contentbuilder": "^1.4.105",
54
+ "@innovastudio/contentbuilder": "^1.4.107",
55
55
  "js-beautify": "^1.14.0"
56
56
  }
57
57
  }
@@ -94101,6 +94101,7 @@ class ContentBuilder {
94101
94101
  imageEmbed: true,
94102
94102
  imageselect: '',
94103
94103
  fileselect: '',
94104
+ videoselect: '',
94104
94105
  imageSelect: '',
94105
94106
  fileSelect: '',
94106
94107
  videoSelect: '',
@@ -97139,6 +97140,9 @@ class ContentBuilder {
97139
97140
  }
97140
97141
  }
97141
97142
  async upscaleImage(src, callback) {
97143
+ if (this.viewImageUrl) {
97144
+ src = this.viewImageUrl + '?url=' + src;
97145
+ }
97142
97146
  const width = 512;
97143
97147
  const height = 512;
97144
97148
  const img = new Image();
@@ -120002,9 +120006,9 @@ Add an image for each feature.`, 'Revise the headline, paragraph, and all the te
120002
120006
  let contentStylePath = this.settings.contentStylePath; //Add contentCss
120003
120007
 
120004
120008
  if (contentCss) {
120005
- let exist = false;
120009
+ let exist = false; // let links = window.parent._cb.doc.getElementsByTagName('link');
120006
120010
 
120007
- let links = window.parent._cb.doc.getElementsByTagName('link');
120011
+ let links = this.doc.getElementsByTagName('link');
120008
120012
 
120009
120013
  for (let i = 0; i < links.length; i++) {
120010
120014
  let src = links[i].href.toLowerCase();