-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Allow dragging images into textareas #14982
Comments
Okay, yes, I can verify that it is partially possible using "Ctrl + V": |
This #20263 edit should fix the issue Screen.Recording.2022-06-29.at.23.13.18.mov |
duplicate of #14291? |
Automatically locked because of our CONTRIBUTING guidelines |
Description
GitHub allows to drag images from the dragboard directly into any text area instead of dragging it to an upload section below which seems more intuitive to understand and with less code necessary.
What to implement
Also give the textarea the ability to accept dragged images, and insert them not as an attachment, but as part of the message (meaning basically the same behavior as when "Ctrl + V" was pressed with an image in the clipboard).
GitHub even went so far as to completely integrate the "upload section" of a textarea into the textarea itself, resulting in a smaller webpage being displayed.
This could also be considered (maybe later on), as the only purpose of the upload section, once this gets implemented, is to open the file system dialog, and nothing else.
Screenshots
Current appearance:
Appearance when using manual attachments versus
![image]
(at the top):The text was updated successfully, but these errors were encountered: