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

Formatting buttons not highlighted when browser selection is removed #2653

Closed
raineorshine opened this issue Nov 26, 2024 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@raineorshine
Copy link
Contributor

raineorshine commented Nov 26, 2024

Steps to Reproduce

**foo bar**
  1. Paste the above bold text.
  2. Click outside of the editable thought so that there is no active browser selection.

Current Behavior

The bold button is dimmed.

Screenshot 2024-11-26 at 6 48 47 PM

Expected Behavior

The bold button should be in the active state (highlighted).
Screenshot 2024-11-26 at 6 48 52 PM

If there is no browser selection, the bold button should be active if the cursor thought is entirely bold.

The same should be true for all the formatting buttons.

@raineorshine
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants