@innovastudio/contentbox 1.4.63 → 1.4.64
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,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@innovastudio/contentbox",
|
3
3
|
"type": "module",
|
4
|
-
"version": "1.4.
|
4
|
+
"version": "1.4.64",
|
5
5
|
"description": "",
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
7
7
|
"files": [
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"webpack-dev-server": "^4.0.0"
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
|
-
"@innovastudio/contentbuilder": "^1.3.
|
49
|
+
"@innovastudio/contentbuilder": "^1.3.73",
|
50
50
|
"js-beautify": "^1.14.0"
|
51
51
|
}
|
52
52
|
}
|
@@ -64674,8 +64674,8 @@ class ButtonEditor {
|
|
64674
64674
|
let elm = e.target;
|
64675
64675
|
this.builder.colorPicker.open(color => {
|
64676
64676
|
const activeButton = this.builder.activeButton || this.builder.activeLinkButton;
|
64677
|
-
activeButton.style.backgroundColor = color;
|
64678
|
-
|
64677
|
+
activeButton.style.backgroundColor = color;
|
64678
|
+
activeButton.setAttribute('data-bg', color);
|
64679
64679
|
dom.removeClassesByPrefix(activeButton, 'bg-');
|
64680
64680
|
elm.style.backgroundColor = color; // preview
|
64681
64681
|
//Trigger Change event
|