gutenberg
gutenberg copied to clipboard
cmd + A twice does not select all content in the editor
Description
We're debugging a problem in P2 where selecting all content from all blocks (by pressing CMD+A+A) is not selecting the entire contents of the editor. This was working before this commit as per my investigation.
I've noticed today that this problem exists in the provided playground example in this repository and the problem can be also reproduced live here.
Step-by-step reproduction instructions
- Start storybook (or use it live)
- Go to the Playground -> Block Editor -> Default story
- Write three or four paragraphs of text
- Click on one of the paragraphs you wrote
- Press CMD + A + A
Instead of ending up with all the contents selected ,a quick "flash" can be seen and no content is selected.
Screenshots, screen recording, code snippet
https://user-images.githubusercontent.com/1574407/182356141-f477c7cb-0449-4981-9ecf-0c7fa2f61015.mp4
Environment info
Storybook on trunk
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes