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

feat(text editor): conditionally allow commands #3458

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

john-traas
Copy link
Contributor

@john-traas john-traas commented Feb 21, 2025

Rather than handling some extremely complex actions that may or may not be part of a good UX, we should instead disable certain commands based on certain conditions.

This change will allow us to do that both visually (not show the button in the menu) and within the command factory (ensure key bindings aren't used to trigger a command that's not allowed.

Copy link

Documentation has been published to https://lundalogik.github.io/lime-elements/versions/PR-3458/

@john-traas john-traas force-pushed the conditional-command-visibility branch from dd11d8a to 724cad4 Compare February 21, 2025 15:12
@john-traas john-traas self-assigned this Feb 21, 2025
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.

1 participant