Merge remote-tracking branch 'remotes/upstream/master'

This commit is contained in:
Toni Barth 2025-06-16 19:28:09 +02:00
commit 84de2f0953
37 changed files with 396 additions and 105 deletions

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() {

View file

@ -143,10 +143,18 @@ export default {
localStorage.setItem('embedMetadataCodec', val)
},
getEncodingOptions() {
return {
codec: this.selectedCodec || 'aac',
bitrate: this.selectedBitrate || '128k',
channels: this.selectedChannels || 2
if (this.showAdvancedView) {
return {
codec: this.customCodec || this.selectedCodec || 'aac',
bitrate: this.customBitrate || this.selectedBitrate || '128k',
channels: this.customChannels || this.selectedChannels || 2
}
} else {
return {
codec: this.selectedCodec || 'aac',
bitrate: this.selectedBitrate || '128k',
channels: this.selectedChannels || 2
}
}
},
setPreset() {

View file

@ -248,4 +248,4 @@ export default {
transform: scale(0);
}
}
</style>
</style>

View file

@ -109,4 +109,4 @@ export default {
}
}
}
</script>
</script>