diff options
Diffstat (limited to 'front-end/src/views/Blog')
-rw-r--r-- | front-end/src/views/Blog/ckeditor/Editor.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/front-end/src/views/Blog/ckeditor/Editor.vue b/front-end/src/views/Blog/ckeditor/Editor.vue index 87c0595..41e0ec0 100644 --- a/front-end/src/views/Blog/ckeditor/Editor.vue +++ b/front-end/src/views/Blog/ckeditor/Editor.vue @@ -55,7 +55,7 @@ </template> <script setup lang="ts"> -import { debounce } from 'lodash'; +import { debounce, defer } from 'lodash'; import { ref } from 'vue'; import { useSessionStorage } from '@vueuse/core'; import { tryOnMounted } from '@vueuse/shared'; @@ -140,7 +140,7 @@ tryOnMounted(() => editor.model.document.on('change:data', debounce(() => onChange(editor.getData())), 500) //Call initial load hook - emit('load', editor); + defer(() => emit('load', editor)); }) ) |