diff options
author | vnugent <public@vaughnnugent.com> | 2023-12-31 21:22:00 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-12-31 21:22:00 -0500 |
commit | 272dad8ba722a6a1a072790cf13f3efb9f40f7af (patch) | |
tree | a5dc749b38eb73e9fc9ffcb39ef1b0ac27e8c155 /front-end/src/views/Blog/ckeditor | |
parent | cedc795e7eea326e73a9625f5ca7bfbead9b34de (diff) |
hopefully last commit before release & fix some minor annoyances
Diffstat (limited to 'front-end/src/views/Blog/ckeditor')
-rw-r--r-- | front-end/src/views/Blog/ckeditor/Editor.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/front-end/src/views/Blog/ckeditor/Editor.vue b/front-end/src/views/Blog/ckeditor/Editor.vue index e1ee2ce..b1d6c0b 100644 --- a/front-end/src/views/Blog/ckeditor/Editor.vue +++ b/front-end/src/views/Blog/ckeditor/Editor.vue @@ -26,7 +26,7 @@ <div class=""> Search for content by its id or file name. </div> - <ContentSearch :blog="$props.blog"/> + <ContentSearch/> </div> </PopoverPanel> </Popover> @@ -70,7 +70,7 @@ <script setup lang="ts"> import { debounce, defer } from 'lodash-es'; -import { computed, ref, toRefs } from 'vue'; +import { computed, defineAsyncComponent, ref, toRefs } from 'vue'; import { useSessionStorage } from '@vueuse/core'; import { tryOnMounted } from '@vueuse/shared'; import { apiCall } from '@vnuge/vnlib.browser'; @@ -78,8 +78,8 @@ import { Popover, PopoverButton, PopoverPanel, Switch } from '@headlessui/vue' import { Converter } from 'showdown' import { useCkConfig } from './build.ts' import { useUploadAdapter } from './uploadAdapter'; -import ContentSearch from '../components/ContentSearch.vue'; import { useStore } from '../../../store'; +const ContentSearch = defineAsyncComponent(() => import('../components/ContentSearch.vue')); const emit = defineEmits(['change', 'load', 'mode-change']) |