Delete at the beginning of newly created quote deletes the quote, not the first charater. #35388
Labels
[Block] Quote
Affects the Quote Block
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
I convert a paragraph of text (pasted markdown, or just any text) to a quote block, by adding
>
at the beginning. Then once the block is converted, I continue expecting the block would behave as if it has been before, and I placed the caret at the beginning. So I press del I'd expect the first character after the caret to be removed.Then unexpectedly the quote block is converted back to a paragraph. This is the action I'd expect on undo or backspace. del deletes what's after not before the caret.
In Notion and other rich text editors, it behaves as I'd expect.
Step-by-step reproduction instructions
>
.Screenshots, screen recording, code snippet
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
The text was updated successfully, but these errors were encountered: