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

Fix visual behavior of modal buttons in editor #3009

Merged

Conversation

lucasscharenbroch
Copy link
Contributor

This resolves (8) and (5) from #2842.

Clicking on the justification/[un]ordered-list buttons now causes the corresponding variants to be updated (visually), which fixes the problem in the screenshot.

screenshot

(Both lists and all 4 justification methods all enabled at once (technically only one of each is enabled, but they all appear to be enabled, because the buttons haven't been updated)).

@dae
Copy link
Member

dae commented Feb 14, 2024

Thanks Lucas, it's nice that this reuses the existing state handling routines.

@dae dae merged commit b800574 into ankitects:main Feb 14, 2024
1 check 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.

None yet

2 participants