mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-14 01:16:52 +02:00
remove any attachment
This commit is contained in:
parent
5dc6d613bd
commit
759c58d3f7
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user