Button Color thru separate color button/color picker #5327
Unanswered
censonalvin
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You can add class to wrapper to change all the button style: const wrapperId = editor.getWrapper()?.ccid;
editor.Css.setRule(`#${wrapperId} button`, {
"background-color": red,
"border-color": #fff,
}); |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, would like to ask how can I achieve to change all the buttons that is on the canvas or a button block that is on the canvas by using a color picker (not on the Style manager) ? I tried using a simple JavaScript/jQuery but it only changes on the editor side (where the block is before putting it on the canvas.). Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions