aboutsummaryrefslogtreecommitdiff
path: root/front-end/src/views/Blog
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-08-04 11:33:08 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2023-08-04 11:33:08 -0400
commitc672c09c2507b384756fd1a2ab6d8f62d8776e36 (patch)
tree688e420a924433bfe00964e4078f007c5c024297 /front-end/src/views/Blog
parent687bb87870728180e65fae0538cdaba4581fc378 (diff)
package updates and cleanup 1 of 2
Diffstat (limited to 'front-end/src/views/Blog')
-rw-r--r--front-end/src/views/Blog/ckeditor/Editor.vue4
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));
})
)