Fix extracting the richtext element since there is no component ref available for functional components

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-03-06 16:12:09 +01:00
parent 694438bd3a
commit 81e8100897

View File

@@ -142,7 +142,7 @@ export default {
this.$store.dispatch('setReplyTo', this.comment)
},
showUpdateForm() {
this.commentMsg = this.$refs.richTextElement.$el.innerHTML
this.commentMsg = this.$refs.richTextElement.children[0].innerHTML
this.edit = true
},
hideUpdateForm() {