Blocks are inadvertently deleted when pressing Delete while the cursor is placed after punctuation and space on iOS devices #69121
Labels
Mobile Web
Viewport sizes for mobile and tablet devices
[Type] Bug
An existing feature does not function as intended
Description
On iOS devices, if the cursor is placed after certain punctuation followed by a space, pressing the Delete (backspace) key inadvertently deletes the entire text block rather than deleting the last character (space).
This only occurs when a subset of punctuation is used—e.g., period, exclamation—where other punctuation does not exhibit the issue—e.g., comma, apostrophe. It also only occurs on a physical iOS device, I was unable to reproduce it using iOS simulators.
It appears this regression was introduced in #68164.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
ScreenRecording_02-10-2025.11-43-02_1.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: