Pasted lines are appended to selection instead of replacing, each line is pasted individually creating many undo steps
If I already have some lines in a page that I want to replace with some other lines I copied from an external source, I'll select all the lines in the page and then paste, expecting the old lines to be replaced with the clipboard contents. Instead, the clipboard contents are added as children of the last selected line. After that, when I try to undo, I expect all the lines that I pasted to be removed, but instead they are removed one by one, so I have to undo a lot of times to get rid of the lines I pasted.
You can try pasting the unformatted text by pasting your copied content in some plain-text editor first, or use key combo. In Mac, it's option+shift+command+V.
I don't see how that will solve the problem I was having:
- pasted lines are added as children of the last selected line instead of replacing the selected lines
- undo steps are created for each pasted line