diff --git a/app/javascript/dashboard/components/widgets/WootWriter/Editor.vue b/app/javascript/dashboard/components/widgets/WootWriter/Editor.vue index a2b721a2b..41658b6d1 100644 --- a/app/javascript/dashboard/components/widgets/WootWriter/Editor.vue +++ b/app/javascript/dashboard/components/widgets/WootWriter/Editor.vue @@ -310,11 +310,9 @@ export default { userFullName: mentionItem.name, }); - const tr = this.editorView.state.tr.replaceWith( - this.range.from, - this.range.to, - node - ); + const tr = this.editorView.state.tr + .replaceWith(this.range.from, this.range.to, node) + .insertText(` `); this.state = this.editorView.state.apply(tr); this.emitOnChange(); this.$track(CONVERSATION_EVENTS.USED_MENTIONS);