@innovastudio/contentbuilder 1.0.73 → 1.0.74
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
|
@@ -52886,7 +52886,13 @@ class Rte {
|
|
|
52886
52886
|
html_iconrte = html_iconrte + `<button title="${util.out('More')}" class="rte-more"><svg class="is-icon-flex" style="width:13px;height:13px;"><use xlink:href="#ion-more"></use></svg></button>`;
|
|
52887
52887
|
}
|
|
52888
52888
|
/* /Icon Buttons */
|
|
52889
|
-
|
|
52889
|
+
|
|
52890
|
+
|
|
52891
|
+
let html_fontsizes = '';
|
|
52892
|
+
|
|
52893
|
+
for (j = 0; j < builder.opts.defaultFontSizes.length; j++) {
|
|
52894
|
+
html_fontsizes += `<button title="${builder.opts.defaultFontSizes[j]}px" data-value="${builder.opts.defaultFontSizes[j]}">${builder.opts.defaultFontSizes[j]}</button>`;
|
|
52895
|
+
} // <div class="is-draggable" style="width: 5px;height: 45pxpx;background:#fff;cursor: move;"></div>
|
|
52890
52896
|
// <div style="height:55px;background:#fff;border-top:#f5f5f5 1px solid;">
|
|
52891
52897
|
// </div>
|
|
52892
52898
|
|
|
@@ -52961,23 +52967,7 @@ class Rte {
|
|
|
52961
52967
|
<div>
|
|
52962
52968
|
<div class="is-label">${util.out('Font Size')}</div>
|
|
52963
52969
|
<div class="rte-fontsize-options" style="display: flex;flex-flow: wrap;">
|
|
52964
|
-
|
|
52965
|
-
<button title="16px" data-value="16">16</button>
|
|
52966
|
-
<button title="18px" data-value="18">18</button>
|
|
52967
|
-
<button title="21px" data-value="21">21</button>
|
|
52968
|
-
<button title="24px" data-value="24">24</button>
|
|
52969
|
-
<!--<button title="28px" data-value="28">28</button>-->
|
|
52970
|
-
<button title="32px" data-value="32">32</button>
|
|
52971
|
-
<!--<button title="38px" data-value="38">38</button>-->
|
|
52972
|
-
<button title="48px" data-value="48">48</button>
|
|
52973
|
-
<!--<button title="60px" data-value="60">60</button>-->
|
|
52974
|
-
<button title="76px" data-value="76">76</button>
|
|
52975
|
-
<button title="96px" data-value="96">96</button>
|
|
52976
|
-
|
|
52977
|
-
<button title="120px" data-value="120">120</button>
|
|
52978
|
-
<!--<button title="160px" data-value="160">160</button>-->
|
|
52979
|
-
<button title="200px" data-value="200">200</button>
|
|
52980
|
-
<button title="300px" data-value="300">300</button>
|
|
52970
|
+
${html_fontsizes}
|
|
52981
52971
|
|
|
52982
52972
|
<button title="${util.out('Decrease')}" data-value="-" style="font-size:13px">-</button>
|
|
52983
52973
|
<button title="${util.out('Increase')}" data-value="+" style="font-size:13px">+</button>
|
|
@@ -57695,6 +57685,7 @@ class ContentBuilder {
|
|
|
57695
57685
|
clearPreferences: false,
|
|
57696
57686
|
toolbarAddSnippetButton: false,
|
|
57697
57687
|
animateModal: true,
|
|
57688
|
+
defaultFontSizes: [16, 17, 18, 19, 24, 32, 48, 76, 96, 120, 200, 300],
|
|
57698
57689
|
fontSizeClassValues: [12, 14, 15, 16, 17, 18, 19, 21, 24, 28, 32, 35, 38, 42, 46, 48, 50, 54, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 152, 156, 160, 164, 168, 172, 176, 180, 184, 188, 192, 196, 200, 204, 208, 212, 216, 220, 224, 228, 232, 236, 240, 244, 248, 252, 256, 260, 264, 268, 272, 276, 280, 284, 288, 292, 296, 300, 304, 308, 312, 316, 320, 324, 328, 332, 336, 340, 344, 348, 352, 356, 360, 364, 368, 372, 376, 380, 384, 388, 392, 396, 400],
|
|
57699
57690
|
|
|
57700
57691
|
/* If not empty, applying font size will apply class: size-12, size-14, and so on. All responsive, defined in content.css */
|