@innovastudio/contentbuilder 1.0.58 → 1.0.59

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "description": "",
5
5
  "main": "public/contentbuilder/contentbuilder.esm.js",
6
6
  "files": [
@@ -3681,13 +3681,15 @@ button:focus {
3681
3681
  fill: #fff;
3682
3682
  }
3683
3683
  .is-tool.is-row-tool .row-handle {
3684
- line-height: 25px;
3684
+ display: flex;
3685
+ height: 25px;
3686
+ justify-content: center;
3687
+ align-items: center;
3685
3688
  background: #169af7;
3686
3689
  }
3687
3690
  .is-tool.is-row-tool .row-handle svg {
3688
3691
  width: 13px;
3689
3692
  height: 13px;
3690
- margin-top: -2px;
3691
3693
  }
3692
3694
  .is-tool.is-row-tool .row-grideditor {
3693
3695
  background: rgba(216, 200, 6, 0.9);
@@ -3723,13 +3725,15 @@ button:focus {
3723
3725
  fill: #000;
3724
3726
  }
3725
3727
  .is-builder[gray] .is-tool.is-row-tool .row-handle {
3726
- line-height: 27px;
3728
+ display: flex;
3729
+ height: 27px;
3730
+ justify-content: center;
3731
+ align-items: center;
3727
3732
  background: transparent;
3728
3733
  }
3729
3734
  .is-builder[gray] .is-tool.is-row-tool .row-handle svg {
3730
3735
  width: 11px;
3731
3736
  height: 11px;
3732
- margin-top: -3px;
3733
3737
  }
3734
3738
  .is-builder[gray] .is-tool.is-row-tool .row-grideditor {
3735
3739
  background: transparent;
@@ -52507,18 +52507,18 @@ class Rte {
52507
52507
  <button title="18px" data-value="18">18</button>
52508
52508
  <button title="21px" data-value="21">21</button>
52509
52509
  <button title="24px" data-value="24">24</button>
52510
- <button title="28px" data-value="28">28</button>
52510
+ <!--<button title="28px" data-value="28">28</button>-->
52511
52511
  <button title="32px" data-value="32">32</button>
52512
- <!--<button title="35px" data-value="35">35</button>-->
52513
- <button title="38px" data-value="38">38</button>
52514
- <!--<button title="42px" data-value="42">42</button>-->
52512
+ <!--<button title="38px" data-value="38">38</button>-->
52515
52513
  <button title="48px" data-value="48">48</button>
52516
- <!--<button title="54px" data-value="54">54</button>-->
52517
- <button title="60px" data-value="60">60</button>
52518
- <!--<button title="68px" data-value="68">68</button>-->
52514
+ <!--<button title="60px" data-value="60">60</button>-->
52519
52515
  <button title="76px" data-value="76">76</button>
52520
- <!--<button title="84px" data-value="84">84</button>-->
52521
52516
  <button title="96px" data-value="96">96</button>
52517
+
52518
+ <button title="120px" data-value="120">120</button>
52519
+ <button title="160px" data-value="160">160</button>
52520
+ <button title="200px" data-value="200">200</button>
52521
+
52522
52522
  <button title="${util.out('Decrease')}" data-value="-" style="font-size:13px">-</button>
52523
52523
  <button title="${util.out('Increase')}" data-value="+" style="font-size:13px">+</button>
52524
52524
  <button title="${util.out('Clear')}" data-value=""><svg class="is-icon-flex" style="width:18px;height:18px;margin-top: 2px;"><use xlink:href="#ion-ios-close-empty"></use></svg></button>
@@ -54190,20 +54190,19 @@ class Rte {
54190
54190
  let lineheight;
54191
54191
 
54192
54192
  if (num === '+') {
54193
- lineheight = currentLineHeight + 0.2;
54193
+ lineheight = currentLineHeight + 0.1;
54194
54194
  } else if (num === '-') {
54195
- lineheight = currentLineHeight - 0.2;
54195
+ lineheight = currentLineHeight - 0.1;
54196
+ if (lineheight < 0.2) lineheight = 0.2; // prevent very small number
54196
54197
  } else if (num === '') {
54197
54198
  lineheight = '';
54198
54199
  } else {
54199
54200
  lineheight = num;
54200
54201
  }
54201
-
54202
- if (lineheight < 0.2) lineheight = 0.2; // prevent very small number
54203
-
54204
54202
  /** mod by Jack */
54205
54203
  //elm.style.lineHeight = lineheight;
54206
54204
 
54205
+
54207
54206
  dom$5.doFunction(elm, function (theEl) {
54208
54207
  theEl.style.lineHeight = lineheight;
54209
54208
  }, true); //save selection