You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a reusable block via selecting multiple blocks, pressing the backspace key when typing a name in the "Create Reusable block" dialog leads to deleting the selected blocks and therefore the dialog to disappear. This behavior makes it very difficult to create a reusable block as removing characters when setting a name is very common.
Step-by-step reproduction instructions
Add multiple blocks to a post.
Select multiple blocks.
Click on the options button located in the toolbar (the three dots icon).
Click on "Add to Reusable blocks" option.
Select the Name input field.
Type a name and press the backspace key.
Observe that the selected blocks are deleted and the "Create Reusable block" dialog is closed.
Screenshots, screen recording, code snippet
reusable-block-backspace-bug.mp4
Environment info
Gutenberg: v11.8.3
Editing Toolkit: 3.19495
WP AMP: 2.0.5
CoBlocks: 2.10.1
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Description
When creating a reusable block via selecting multiple blocks, pressing the backspace key when typing a name in the "Create Reusable block" dialog leads to deleting the selected blocks and therefore the dialog to disappear. This behavior makes it very difficult to create a reusable block as removing characters when setting a name is very common.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
reusable-block-backspace-bug.mp4
Environment info
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