Merge pull request #4374 from Vito0912/feat/allowBase64Images

Corrects removing of attachments for Trix
This commit is contained in:
advplyr
2025-06-04 16:36:46 -05:00
committed by GitHub
+1 -3
View File
@@ -318,11 +318,9 @@ 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() {
/** Override editor configuration */ /** Override editor configuration */