Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-08-25 09:04:58 +0300
committerJulius Härtl <jus@bitgrid.net>2022-08-25 12:04:53 +0300
commit768208d37cbcc5f6708d2e818458952686e0ebd2 (patch)
tree5f625832e099457a5ee4fc1954317040baff16c0 /src/components/Editor.vue
parent2e3c92ac00a0051cb9771bbed6e507e46df7f30d (diff)
Emit notification on adding a mention
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/components/Editor.vue')
-rw-r--r--src/components/Editor.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/Editor.vue b/src/components/Editor.vue
index b2f72a612..4148f125f 100644
--- a/src/components/Editor.vue
+++ b/src/components/Editor.vue
@@ -472,6 +472,7 @@ export default {
(this.isRichEditor ? Promise.resolve() : loadSyntaxHighlight(language))
.then(() => {
this.$editor = createEditor({
+ session: this.currentSession,
content,
onCreate: ({ editor }) => {
this.$syncService.state = editor.state