feat: adds drag, drop and pasting of attachments#13136
Conversation
|
Thanks for the feature! Code looks good on a high level. We'll test and review in detail soon. CI is unhappy about the missing sign-off trailer in your commit. |
|
Thanks |
|
hi @steven-mpawulo, i tested it and i am able to drag and drop some files. I cannot drag and drop pdf files. |
|
Hello @GretaD |
|
@GretaD I'm a bit lost here. If attachment-size-limit is not set, the default value is 0, which means the popup never appears.
|
on main we show this warning: https://github.com/nextcloud/mail/blob/main/src/components/ComposerAttachments.vue#L410 can you show the same for drag and drop? |
Am reusing the already existing logic for uploading files. |



Add support for attaching files via drag-and-drop and clipboard paste in the message composer.
This reuses the existing attachment upload flow to ensure consistent upload handling and validation.
Fixes #12687.