@innovastudio/contentbuilder 1.3.60 → 1.3.62

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.60",
4
+ "version": "1.3.62",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -3631,7 +3631,7 @@ button:focus-visible {
3631
3631
  left: -40px;
3632
3632
  background: #fff;
3633
3633
  border: 1px solid #e8e8e8;
3634
- border-right: none !important;
3634
+ border-right: none;
3635
3635
  line-height: 39px;
3636
3636
  text-align: center;
3637
3637
  box-shadow: rgba(0, 0, 0, 0.025) -4px 2px 5px 0px;
@@ -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'));
@@ -77110,11 +77111,10 @@ class ContentBuilder {
77110
77111
  this.dom.addClass(row, 'row-outline');
77111
77112
  } //this.getState();
77112
77113
  // Call onContentClick to indicate click on editable content (eg. for plugin usage)
77114
+ // if (!col.hasAttribute('data-html')) {
77113
77115
 
77114
77116
 
77115
- if (!col.hasAttribute('data-html')) {
77116
- if (this.opts.onContentClick) this.opts.onContentClick(e);
77117
- }
77117
+ if (this.opts.onContentClick) this.opts.onContentClick(e); // }
77118
77118
 
77119
77119
  this.element.click(col, e);
77120
77120
  this.colTool.click(col);