aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/src/components/Comment.vue
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-11-15 18:30:17 +0100
committerLouis Chemineau <louis@chmn.me>2022-11-21 10:48:47 +0100
commit0f6680669449b42ae28852d2d085d2a893f92bc4 (patch)
tree1324b46c3f1e38300e0fe76989930ce526464826 /apps/comments/src/components/Comment.vue
parentaad8b303985543fab9b9f9c01b6cca9dc4f7807e (diff)
downloadnextcloud-server-0f6680669449b42ae28852d2d085d2a893f92bc4.tar.gz
nextcloud-server-0f6680669449b42ae28852d2d085d2a893f92bc4.zip
Fix mentions rendering in comment editor
NcRichContentEditable needs an index of users to properly display them. This commit adds a caching logic and provides it to NcRichContentEditable. Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/comments/src/components/Comment.vue')
-rw-r--r--apps/comments/src/components/Comment.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/comments/src/components/Comment.vue b/apps/comments/src/components/Comment.vue
index 41284e50ca9..062dda74756 100644
--- a/apps/comments/src/components/Comment.vue
+++ b/apps/comments/src/components/Comment.vue
@@ -69,6 +69,7 @@
:auto-complete="autoComplete"
:contenteditable="!loading"
:value="localMessage"
+ :user-data="userData"
@update:value="updateLocalMessage"
@submit="onSubmit" />
<NcButton class="comment__submit"