You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know how I can add an active state, with a class for example on formatting buttons?
Foe this I would need some kind of on select event, which add a class to a button, and remove it on blur.
For example, if a user selects "Heading 1" for some text, he should be able to know that "Heading 1" was selected.
Thank you for your help.
The text was updated successfully, but these errors were encountered:
I found a solution by using "ondropdown" event, which check my current selection text tag and classes, then toggle a class on the corresponding button.
Hi,
I would like to know how I can add an active state, with a class for example on formatting buttons?
Foe this I would need some kind of on select event, which add a class to a button, and remove it on blur.
For example, if a user selects "Heading 1" for some text, he should be able to know that "Heading 1" was selected.
Thank you for your help.
The text was updated successfully, but these errors were encountered: