summaryrefslogtreecommitdiffstats
path: root/apps/comments/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/src/components')
-rw-r--r--apps/comments/src/components/Comment.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/comments/src/components/Comment.vue b/apps/comments/src/components/Comment.vue
index acacb156f75..edcaeafb7b6 100644
--- a/apps/comments/src/components/Comment.vue
+++ b/apps/comments/src/components/Comment.vue
@@ -67,7 +67,10 @@
<!-- Message editor -->
<div class="comment__message" v-if="editor || editing">
- <RichContenteditable v-model="localMessage" :auto-complete="autoComplete" :contenteditable="!loading" />
+ <RichContenteditable v-model="localMessage"
+ :auto-complete="autoComplete"
+ :contenteditable="!loading"
+ @submit="onSubmit" />
<input v-tooltip="t('comments', 'Post comment')"
:class="loading ? 'icon-loading-small' :'icon-confirm'"
class="comment__submit"