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

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgreta <gretadoci@gmail.com>2022-05-27 10:45:38 +0300
committergreta <gretadoci@gmail.com>2022-05-27 10:45:38 +0300
commit13896384e2ffd86600f2ce984036f8d660d72b8f (patch)
treec7acfe93799be0dd6aa07dab2afc8c818c2ba333 /src
parentfa1bc2931090b54c76ac99578e00f48df67c1025 (diff)
Fix body composer when reply/forward
Signed-off-by: greta <gretadoci@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/Composer.vue6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/Composer.vue b/src/components/Composer.vue
index 0ec1e8233..b44232791 100644
--- a/src/components/Composer.vue
+++ b/src/components/Composer.vue
@@ -748,8 +748,10 @@ export default {
},
async beforeMount() {
this.setAlias()
- this.initBody()
-
+ // there's a race condition on the ckeditor initialization and we need to delay it for the initBody to work
+ this.$nextTick(() => {
+ this.initBody()
+ })
await this.onMailvelopeLoaded(await getMailvelope())
},
mounted() {