@innovastudio/contentbuilder 1.4.132 → 1.4.133
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
|
@@ -1853,6 +1853,7 @@ class Util {
|
|
|
1853
1853
|
const dom = this.dom;
|
|
1854
1854
|
const html = `
|
|
1855
1855
|
<input type="text" class="style-helper-input" style="display:none;">
|
|
1856
|
+
<label class="style-helper-label" style="display:none;"></label>
|
|
1856
1857
|
<button class="style-helper-button-classic classic" style="display:none;"><svg><use xlink:href="#ion-code-working"></use></svg></button>
|
|
1857
1858
|
<select class="style-helper-select" style="display:none;"><option value=""></option></select>
|
|
1858
1859
|
|
|
@@ -1900,6 +1901,7 @@ class Util {
|
|
|
1900
1901
|
return window.getComputedStyle(btn.querySelector('svg'), null).getPropertyValue('fill');
|
|
1901
1902
|
};
|
|
1902
1903
|
const inp = this.builder.builderStuff.querySelector('.style-helper-input');
|
|
1904
|
+
const lbl = this.builder.builderStuff.querySelector('.style-helper-label');
|
|
1903
1905
|
const sel = this.builder.builderStuff.querySelector('.style-helper-select');
|
|
1904
1906
|
const btnClassic = this.builder.builderStuff.querySelector('.style-helper-button-classic');
|
|
1905
1907
|
this.builder.styleModalColor = getVal('.modal-color', 'background-color');
|
|
@@ -1944,6 +1946,9 @@ class Util {
|
|
|
1944
1946
|
this.builder.styleInputBorderBottom = window.getComputedStyle(inp, null).getPropertyValue('border-bottom');
|
|
1945
1947
|
this.builder.styleInputColor = window.getComputedStyle(inp, null).getPropertyValue('color');
|
|
1946
1948
|
|
|
1949
|
+
// Label (ex. used in 'Search & Replace' plugin)
|
|
1950
|
+
this.builder.styleLabelColor = window.getComputedStyle(lbl, null).getPropertyValue('color');
|
|
1951
|
+
|
|
1947
1952
|
// Button Classic (ex. used in 'Search & Replace' plugin)
|
|
1948
1953
|
this.builder.styleButtonClassicBackground = window.getComputedStyle(btnClassic, null).getPropertyValue('background-color');
|
|
1949
1954
|
this.builder.styleButtonClassicColor = window.getComputedStyle(btnClassic, null).getPropertyValue('color');
|