@innovastudio/contentbuilder 1.4.119 → 1.4.120

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.4.119",
4
+ "version": "1.4.120",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -48849,15 +48849,17 @@ class Hyperlink {
48849
48849
  }
48850
48850
  link.setAttribute('title', title);
48851
48851
  } else {
48852
- link.outerHTML = link.innerHTML;
48852
+ // link.outerHTML = link.innerHTML;
48853
48853
  this.hideTool();
48854
48854
  if (this.builder.activeIcon) {
48855
48855
  this.builder.activeIcon.setAttribute('dummy-sel', '');
48856
48856
  link.outerHTML = this.builder.activeIcon.outerHTML;
48857
- let icon = document.querySelector('[dummy-sel]');
48857
+ let icon = this.builder.doc.querySelector('[dummy-sel]');
48858
48858
  icon.removeAttribute('dummy-sel');
48859
48859
  this.builder.activeIcon = icon;
48860
48860
  this.builder.activeIcon.click();
48861
+ } else {
48862
+ link.outerHTML = link.innerHTML;
48861
48863
  }
48862
48864
  }
48863
48865