Describe the bug
Copy a text and paste it into the editor. After that, click on backspace at the start of a word in the first line. The entire line is getting cleared.
To Reproduce
- Paste text into the editor.
- Place the cursor at the start of the first line.
- Press the backspace button.
- Observe that the entire line gets erased.
Expected behavior
Pressing backspace at the start of the first line should not clear the entire line
Screenshots

Describe the bug
Copy a text and paste it into the editor. After that, click on backspace at the start of a word in the first line. The entire line is getting cleared.
To Reproduce
Expected behavior
Pressing backspace at the start of the first line should not clear the entire line
Screenshots
