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:
@@ -142,7 +142,7 @@ export default {
|
|||||||
this.$store.dispatch('setReplyTo', this.comment)
|
this.$store.dispatch('setReplyTo', this.comment)
|
||||||
},
|
},
|
||||||
showUpdateForm() {
|
showUpdateForm() {
|
||||||
this.commentMsg = this.$refs.richTextElement.$el.innerHTML
|
this.commentMsg = this.$refs.richTextElement.children[0].innerHTML
|
||||||
this.edit = true
|
this.edit = true
|
||||||
},
|
},
|
||||||
hideUpdateForm() {
|
hideUpdateForm() {
|
||||||
|
|||||||
Reference in New Issue
Block a user