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

2060 text formatting button #2236

Merged

Conversation

BlaineOmega
Copy link

@BlaineOmega BlaineOmega commented Aug 5, 2024

Addresses #2060 . Removed the "isActive" check from the shortcut and used the commandStateStore to control the state of the button. There was no need for the isActive function, so I removed it.

src/@types/Shortcut.ts Outdated Show resolved Hide resolved
src/components/ToolbarButton.tsx Outdated Show resolved Hide resolved
@BlaineOmega BlaineOmega mentioned this pull request Aug 7, 2024
@BlaineOmega BlaineOmega changed the base branch from main to react-blaine August 7, 2024 14:55
@raineorshine
Copy link
Contributor

Looks good, thank you!

@raineorshine raineorshine merged commit 690d938 into cybersemics:react-blaine Aug 8, 2024
2 of 3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants