@innovastudio/contentbuilder 1.3.59 → 1.3.61

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/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.3.59",
4
+ "version": "1.3.61",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -50027,7 +50027,8 @@ class Image$1 {
50027
50027
  let basename = '';
50028
50028
 
50029
50029
  if (img.src.indexOf('base64') === -1) {
50030
- let filename = img.src.substring(img.src.lastIndexOf('/') + 1);
50030
+ let src = img.getAttribute('src');
50031
+ let filename = src.substring(src.lastIndexOf('/') + 1);
50031
50032
  basename = dom.baseName(filename);
50032
50033
  } else {
50033
50034
  basename = dom.baseName(img.getAttribute('data-filename'));
@@ -77258,8 +77259,10 @@ class ContentBuilder {
77258
77259
  } // Enable resizable on click
77259
77260
 
77260
77261
 
77261
- this.resize = new Resize(col, this);
77262
- this.resize.enable();
77262
+ if (!col.classList.contains('noresize')) {
77263
+ this.resize = new Resize(col, this);
77264
+ this.resize.enable();
77265
+ }
77263
77266
  }
77264
77267
  }
77265
77268