Pasting an image into a comment also uploads design
Summary
Pasting into a comment form on an issue also uploads a design.
Steps to reproduce
- Copy an image into the clipboard.
- Paste it into a comment form using Ctrl-v
What is the current bug behavior?
The image is both uploaded as an attachment and inserted into the Markdown, and also uploaded as a design.
What is the expected correct behavior?
The image should only be added to the comment form.
Output of checks
This bug happens on GitLab.com
Possible fixes
Edited by Roman Kuba