Merge pull request #4374 from Vito0912/feat/allowBase64Images
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build and Push Docker Image / build (push) Waiting to run
Integration Test / build and test (push) Waiting to run
Run Unit Tests / Run Unit Tests (push) Waiting to run
Run Component Tests / Run Component Tests (push) Has been cancelled

Corrects removing of attachments for Trix
This commit is contained in:
advplyr 2025-06-04 16:36:46 -05:00 committed by GitHub
commit 704c6f7bde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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