mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-24 19:51:30 +02:00
Merge pull request #4374 from Vito0912/feat/allowBase64Images
Corrects removing of attachments for Trix
This commit is contained in:
commit
704c6f7bde
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user