Post Editor: ⌘+a
shortcut closes the renaming modal and changes focus
#62831
Labels
[Feature] List View
Menu item in the top toolbar to select blocks from a list of links.
[Type] Bug
An existing feature does not function as intended
Description
When renaming a block in the post editor, the
⌘+a
shortcut closes the renaming modal; instead of selecting the text, it selects all the blocks on the canvas.This only happens when editing a post/page, not on the site editor.
Step-by-step reproduction instructions
Rename
⌘+a
to select all the text; it will close the modal and select all the blocks on the canvas insteadScreenshots, screen recording, code snippet
This is how it's supposed to work, as seen on the site editor:
![rename command a](https://cdn.statically.io/img/private-user-images.githubusercontent.com/27339341/342739873-c0d55d9e-5420-4306-95fd-6712ad4744ba.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI5NTA0NjQsIm5iZiI6MTcyMjk1MDE2NCwicGF0aCI6Ii8yNzMzOTM0MS8zNDI3Mzk4NzMtYzBkNTVkOWUtNTQyMC00MzA2LTk1ZmQtNjcxMmFkNDc0NGJhLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA2VDEzMTYwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTllODIyZWMxZTllYTRjZGU0ZTgxNzI0ZmQyYzk0ZDhmYjAxNDFiM2I2NDY5NDhmN2E1Y2EyNGEzNzU4ZjAzNTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.28SA9_65qD9mP582gaXfd2_AAGepohdPNqSGbmXh6Ko)
Props to @jasmussen for finding the bug and sharing the gifs.
Environment info
Control+a
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
The text was updated successfully, but these errors were encountered: