diff --git a/src/components/card/CommentItem.vue b/src/components/card/CommentItem.vue index cd4c983bc..e9171c5ba 100644 --- a/src/components/card/CommentItem.vue +++ b/src/components/card/CommentItem.vue @@ -142,8 +142,10 @@ export default { this.$store.dispatch('setReplyTo', this.comment) }, showUpdateForm() { - this.commentMsg = this.$refs.richTextElement.children[0].innerHTML this.edit = true + this.$nextTick(() => { + this.commentMsg = this.$refs.richTextElement.children[0].innerHTML + }) }, hideUpdateForm() { this.commentMsg = ''