chore: Clean up reply box component (#13060)

This commit is contained in:
Sivin Varghese
2025-12-12 10:50:02 +05:30
committed by GitHub
parent 696564863c
commit 96fe3e146d

View File

@@ -411,13 +411,6 @@ export default {
return true;
}
if (this.isAPIInbox) {
const {
display_rich_content_editor: displayRichContentEditor = false,
} = this.uiSettings;
return displayRichContentEditor;
}
return false;
},
// ensure that the signature is plain text depending on `showRichContentEditor`
@@ -697,7 +690,7 @@ export default {
onPaste(e) {
const data = e.clipboardData.files;
if (!this.showRichContentEditor && data.length !== 0) {
this.$refs.messageInput.$el.blur();
this.$refs.messageInput?.$el?.blur();
}
if (!data.length || !data[0]) {
return;