feat: Enable attachment paste in new conversation modal (#13082)

This commit is contained in:
Sivin Varghese
2025-12-16 14:35:42 +05:30
committed by GitHub
parent 68d8e62a5c
commit 02216471c3
4 changed files with 36 additions and 2 deletions

View File

@@ -688,6 +688,10 @@ export default {
);
},
onPaste(e) {
// Don't handle paste if compose new conversation modal is open
if (this.newConversationModalActive) {
return;
}
const data = e.clipboardData.files;
if (!this.showRichContentEditor && data.length !== 0) {
this.$refs.messageInput?.$el?.blur();