@innovastudio/contentbuilder 1.4.119 → 1.4.121

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/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.4.119",
4
+ "version": "1.4.121",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -11718,30 +11718,38 @@ const prepareSvgIcons = builder => {
11718
11718
  <path d="M18 8v-3a1 1 0 0 0 -1 -1h-13a1 1 0 0 0 -1 1v12a1 1 0 0 0 1 1h9"></path>
11719
11719
  <line x1="16" y1="9" x2="18" y2="9"></line>
11720
11720
  </symbol>
11721
- <symbol id="icon-device-desktop" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11721
+ <symbol id="icon-device-desktop" viewBox="0 0 24 24" stroke-width="1.2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11722
11722
  <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
11723
11723
  <rect x="3" y="4" width="18" height="12" rx="1"></rect>
11724
11724
  <line x1="7" y1="20" x2="17" y2="20"></line>
11725
11725
  <line x1="9" y1="16" x2="9" y2="20"></line>
11726
11726
  <line x1="15" y1="16" x2="15" y2="20"></line>
11727
11727
  </symbol>
11728
- <symbol id="icon-device-mobile" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11728
+ <symbol id="icon-device-mobile" viewBox="0 0 24 24" stroke-width="1.2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11729
11729
  <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
11730
11730
  <rect x="6" y="3" width="12" height="18" rx="2"></rect>
11731
11731
  <line x1="11" y1="4" x2="13" y2="4"></line>
11732
11732
  <line x1="12" y1="17" x2="12" y2="17.01"></line>
11733
11733
  </symbol>
11734
- <symbol id="icon-device-laptop" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11734
+ <symbol id="icon-device-laptop" viewBox="0 0 24 24" stroke-width="1.2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11735
11735
  <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
11736
11736
  <line x1="3" y1="19" x2="21" y2="19"></line>
11737
11737
  <rect x="5" y="6" width="14" height="10" rx="1"></rect>
11738
11738
  </symbol>
11739
- <symbol id="icon-device-tablet" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11739
+ <symbol id="icon-device-tablet" viewBox="0 0 24 24" stroke-width="1.2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11740
11740
  <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
11741
11741
  <rect x="5" y="3" width="14" height="18" rx="1"></rect>
11742
11742
  <circle cx="12" cy="17" r="1"></circle>
11743
11743
  </symbol>
11744
11744
 
11745
+ <symbol id="icon-fullview" viewBox="0 0 24 24" stroke-width="1.2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11746
+ <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
11747
+ <path d="M4 8v-2a2 2 0 0 1 2 -2h2"></path>
11748
+ <path d="M4 16v2a2 2 0 0 0 2 2h2"></path>
11749
+ <path d="M16 4h2a2 2 0 0 1 2 2v2"></path>
11750
+ <path d="M16 20h2a2 2 0 0 0 2 -2v-2"></path>
11751
+ </symbol>
11752
+
11745
11753
  <symbol id="icon-eye" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11746
11754
  <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
11747
11755
  <path d="M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0m13 0c-2.667 4.667 -6 7 -10 7s-7.333 -2.333 -10 -7c2.667 -4.667 6 -7 10 -7s7.333 2.333 10 7"></path>
@@ -11790,12 +11798,20 @@ const prepareSvgIcons = builder => {
11790
11798
  <path d="M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12z"></path>
11791
11799
  </symbol>
11792
11800
 
11793
- <symbol id="icon-undo" viewBox="0 0 24 24" stroke-width="1.4" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11801
+ <symbol id="icon-undo" viewBox="0 0 512 512">
11802
+ <path d="M447.9 368.2c0-16.8 3.6-83.1-48.7-135.7-35.2-35.4-80.3-53.4-143.3-56.2V96L64 224l192 128v-79.8c40 1.1 62.4 9.1 86.7 20 30.9 13.8 55.3 44 75.8 76.6l19.2 31.2H448c0-10.1-.1-22.9-.1-31.8z"></path>
11803
+ </symbol>
11804
+ <symbol id="icon-redo" viewBox="0 0 512 512">
11805
+ <path d="M64 400h10.3l19.2-31.2c20.5-32.7 44.9-62.8 75.8-76.6 24.4-10.9 46.7-18.9 86.7-20V352l192-128L256 96v80.3c-63 2.8-108.1 20.7-143.3 56.2C60.4 285.2 64 351.5 64 368.2c.1 8.9 0 21.7 0 31.8z"></path>
11806
+ </symbol>
11807
+
11808
+
11809
+ <symbol id="icon-undo2" viewBox="0 0 24 24" stroke-width="1.4" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11794
11810
  <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
11795
11811
  <path d="M9 14l-4 -4l4 -4"></path>
11796
11812
  <path d="M5 10h11a4 4 0 1 1 0 8h-1"></path>
11797
11813
  </symbol>
11798
- <symbol id="icon-redo" viewBox="0 0 24 24" stroke-width="1.4" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11814
+ <symbol id="icon-redo2" viewBox="0 0 24 24" stroke-width="1.4" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11799
11815
  <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
11800
11816
  <path d="M15 14l4 -4l-4 -4"></path>
11801
11817
  <path d="M19 10h-11a4 4 0 1 0 0 8h1"></path>
@@ -11811,6 +11827,11 @@ const prepareSvgIcons = builder => {
11811
11827
  <path d="M9 14l-4 -4l4 -4"></path>
11812
11828
  <path d="M5 10h11a4 4 0 1 1 0 8h-1"></path>
11813
11829
  </symbol>
11830
+ <symbol id="icon-publish" viewBox="0 0 24 24" stroke-width="1.4" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
11831
+ <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
11832
+ <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path>
11833
+ <path d="M9 12l2 2l4 -4"></path>
11834
+ </symbol>
11814
11835
 
11815
11836
 
11816
11837
  </defs>
@@ -48849,15 +48870,17 @@ class Hyperlink {
48849
48870
  }
48850
48871
  link.setAttribute('title', title);
48851
48872
  } else {
48852
- link.outerHTML = link.innerHTML;
48873
+ // link.outerHTML = link.innerHTML;
48853
48874
  this.hideTool();
48854
48875
  if (this.builder.activeIcon) {
48855
48876
  this.builder.activeIcon.setAttribute('dummy-sel', '');
48856
48877
  link.outerHTML = this.builder.activeIcon.outerHTML;
48857
- let icon = document.querySelector('[dummy-sel]');
48878
+ let icon = this.builder.doc.querySelector('[dummy-sel]');
48858
48879
  icon.removeAttribute('dummy-sel');
48859
48880
  this.builder.activeIcon = icon;
48860
48881
  this.builder.activeIcon.click();
48882
+ } else {
48883
+ link.outerHTML = link.innerHTML;
48861
48884
  }
48862
48885
  }
48863
48886