-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix: Clicking On Backspace Makes Reusable Block Modal Disappear #36663
Fix: Clicking On Backspace Makes Reusable Block Modal Disappear #36663
Conversation
2b13f04
to
2da4016
Compare
79967d9
to
85ec8c6
Compare
Hi, @delowardev @costdev mentioned that we'll need to check the |
DELETE key check added in 83582bf |
Thank you, @delowardev. |
Thanks for the PR @delowardev ! This feels like there is a deeper underlying issue and we should try to dig deeper first. |
@ntsekouras |
Thanks for your work here @delowardev! I'll close this as an alternative approach was merged for this here: #37595 |
Description
When creating a reusable block, if someone tries to delete a character from the block name by clicking backspace it removes all the selected blocks instead of deleting the character.
See: #36513
How has this been tested?
WP Version: 5.8.2
Device: Macbook Pro M1
OS: macOS Monterey
Please check the attached video on how to replicate and test.
Screenshots
reusable-block-backspace-bug.mp4
Types of changes
Bugfix
Checklist:
*.native.js
files for terms that need renaming or removal).