mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-12 10:25:02 +02:00
remove any attachment
This commit is contained in:
parent
5dc6d613bd
commit
759c58d3f7
1 changed files with 2 additions and 4 deletions
|
@ -318,11 +318,9 @@ export default {
|
|||
}
|
||||
},
|
||||
handleAttachmentAdd(event) {
|
||||
// Prevent pasting in images from the browser
|
||||
if (!event.attachment.file) {
|
||||
// Prevent pasting in images/any files from the browser
|
||||
event.attachment.remove()
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
/** Override editor configuration */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue