-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[lexical-devtools] Feature: Reflect picker state on inspector button ui #6077
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! Thanks for this contribution!
Do you think it's possible to implement this via ExtensionStore
instead of a bit quirky way when we try to keep sync via pending promise?
Also if done via store - we can sync that state to popup window as well easy peasy, while current approach makes it impossible
@StyleT Thanks ! I reverted and changed to utilize store. Please check the last commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much better now!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work!
1a1da5e
to
5182de2
Compare
Description
EditorInspectorButton
reflects pickerActive state on UI.Closes: #6068
Test plan
Before
2024-05-10.6.36.16.mov
After
2024-05-10.6.33.59.mov