(all devices) Rich Text Editor Bug: Image pasting line problem
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=428085)
</details>
<!--IssueSummary end-->
### Problem
Pasting an image on an empty line and pressing enter afterwards will result in a new line _above_ the image.
### Solution
User pastes an image on an empty line, presses enter a the line move below the given image.
### Reported
[Here](https://gitlab.com/gitlab-org/gitlab/-/issues/379045#note_1600925805)
issue