@innovastudio/contentbuilder 1.3.72 → 1.3.73
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
@@ -50947,8 +50947,8 @@ class ButtonEditor {
|
|
50947
50947
|
let elm = e.target;
|
50948
50948
|
this.builder.colorPicker.open(color => {
|
50949
50949
|
const activeButton = this.builder.activeButton || this.builder.activeLinkButton;
|
50950
|
-
activeButton.style.backgroundColor = color;
|
50951
|
-
|
50950
|
+
activeButton.style.backgroundColor = color;
|
50951
|
+
activeButton.setAttribute('data-bg', color);
|
50952
50952
|
dom.removeClassesByPrefix(activeButton, 'bg-');
|
50953
50953
|
elm.style.backgroundColor = color; // preview
|
50954
50954
|
//Trigger Change event
|