UX(rich-text-editor): cant paste url directly into CommentWrapper

Summary

When filling out an issue template, it is possible to paste text directly into a CommentWrapper and replace the wrapper. Unfortunately, this is not possible for me with links. With images, these are inserted but do not replace the wrapper.

Steps to reproduce

  1. open new issue
  2. select any template (e.g. bug.md)
  3. focus commentwrapper
  4. try to paste a url into a commentwrapper

Example Project

https://gitlab.com/gitlab-org/gitlab/-/issues/new

What is the current bug behavior?

Urls cant be pasted directly without typing before

What is the expected correct behavior?

You should be able to focus the wrapper paste all kind of content that is supported in the plain text editor

Possible fixes

Edited by 🤖 GitLab Bot 🤖