-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Framework gutenberg playground, BlockTools cursor issue. #57139
Comments
cc @ellatrix maybe you have a quick idea about why the toolbar is stealing the focus on the implementation above. |
I'm experiencing the same issue on a standalone editor after updating to tag |
I found that, in my case, the issue is present only when StrictMode is enabled. When I compile the code for production or remove the |
Also @jeryj maybe you have an idea about this. |
I thought the issue would be from I ended up removing pieces of the toolbar until it wasn't stealing focus. That led me to this code that focuses the toolbar when the block lock modal is closed. Commenting out that Unrelated Note: In the StackBlitz demo, I believe the |
Also, thank you @costasovo for figuring out the |
Yes! that was my mistake 😢 I fixed it in stackblitz! Thanks!
|
This should be fixed by #57185 |
Discussed in #57138
Originally posted by kohheepeace December 17, 2023
@youknowriad
Assumption
I have started a gutenberg project for framework(standalone) with the following referenced Links. In doing so, I encountered a problem, so I would like to ask a question.
📍 stackblitz URL
https://stackblitz.com/edit/stackblitz-starters-papfri
Referenced links to setup project
Problems
As shown in the following video, it takes two clicks to edit paragraph.
The first click places the focus on the BlockTools button, and the second click makes it editable.
2023-12-17.23.31.14.mp4
The text was updated successfully, but these errors were encountered: