diff --git a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue index d4c473801..bfff15a4c 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue @@ -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;