remove any attachment

This commit is contained in:
Vito0912 2025-06-04 16:38:01 +02:00
parent 5dc6d613bd
commit 759c58d3f7

View File

@ -318,10 +318,8 @@ export default {
} }
}, },
handleAttachmentAdd(event) { handleAttachmentAdd(event) {
// Prevent pasting in images from the browser // Prevent pasting in images/any files from the browser
if (!event.attachment.file) { event.attachment.remove()
event.attachment.remove()
}
} }
}, },
mounted() { mounted() {