### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior when deleting empty space, the error Uncaught RangeError: Position 525 out of range is triggered, where 525 is the line where the deletion occurs  https://github.com/makeplane/plane/assets/83757237/d93da565-6bc5-4691-bb1e-d12df4da30da ### Steps to reproduce 1. Whrite some text 2. Do enter 5 times 3. Upload image 4. Take cursor to first line 5. Tap to Del or Backspace key ### Browser Google Chrome ### Version Self-hosted