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

Apply button pressed conditional styles to non-default actions #180

Open
chriseickemeyerGH opened this issue Jul 1, 2019 · 4 comments
Open

Comments

@chriseickemeyerGH
Copy link

chriseickemeyerGH commented Jul 1, 2019

I believe this is currently not possible when creating custom actions. Will this be added for v2? Or is it possible to do now? Mainly I want to be able to do it for sub/super script.

@jaredreich
Copy link
Owner

@chriseickemeyerGH What exactly do you mean by button pressed conditional styles?

@chriseickemeyerGH
Copy link
Author

I should have been clearer. I'm talking about the pell-button-selected style that is toggled on the default buttons. The style isn't added when buttons with non-default actions are clicked eg superscript, subscript, justify left etc

@jaredreich
Copy link
Owner

Ok thanks this will be looked into

@alvinvogelzang
Copy link

alvinvogelzang commented Oct 20, 2020

@jaredreich first of all. Great library. Loving that it has the basic functionality, it's very flexible and lightweight. I'm also wondering what the current implementation of the 'selected state' is. When I use bold or italic it's working but ulist and olist do not get the selected state. Is this intentional behaviour?

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

3 participants