Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect the style enabled #127

Open
rbcodes opened this issue Aug 29, 2017 · 3 comments
Open

Detect the style enabled #127

rbcodes opened this issue Aug 29, 2017 · 3 comments

Comments

@rbcodes
Copy link

rbcodes commented Aug 29, 2017

I want to let the user know if Bold or Italic or any other style is currently active. Switching the states of style on button press can achieved. But when the user erases content, the preceding style is activated by default and there is no way to detect it.

Ex : Bold Text Normal text.
Now if I delete the Normal Text, the old style that is bold will be activated.
Bold Tex
There is no way I can detect the current style and let the user know that bold is now active again.

@conciloorbis
Copy link

we can change background colour of button when clicking button by using it we can identify which style is active.

@walid-ashik
Copy link

but how can we deselect that button or restore that color if user chooses other style?
Thanks

@Albert-Jan
Copy link

Looking for the same thing. Did you manage to figure it out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants