Pasting multiple lines into a list creates a new text block and wipes out undo buffer #10042
Labels
[Block] List
Affects the List Block
[Feature] Paste
[Feature] Writing Flow
Block selection, navigation, splitting, merging, deletion...
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Type] Bug
An existing feature does not function as intended
Describe the bug
Pasting multi-line text into a list block splits the block into two blocks, with a text block in the middle. Worse, it also wipes out the undo buffer -- if you hit cmd+Z after this happens, the entire second part of the list gets deleted.
This is similar to #9476, but not quite the same issue.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Here's a gif in which I run through the above steps (pasting multi-line text and then hitting undo):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: