aboutsummaryrefslogtreecommitdiff
path: root/front-end/src/views/Blog/index.vue
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-08-27 22:28:34 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2023-08-27 22:28:34 -0400
commitafdeeb686f3aa022bec19084a337e233c622b4e3 (patch)
treef781d4b60e149244e58b58b44715a9a83c9d1fc1 /front-end/src/views/Blog/index.vue
parent51a65e9196f35393817ba94721503afdfa76fb60 (diff)
pre backend update client performance bufs and fixes
Diffstat (limited to 'front-end/src/views/Blog/index.vue')
-rw-r--r--front-end/src/views/Blog/index.vue16
1 files changed, 11 insertions, 5 deletions
diff --git a/front-end/src/views/Blog/index.vue b/front-end/src/views/Blog/index.vue
index b5fa0d4..5d2d8cc 100644
--- a/front-end/src/views/Blog/index.vue
+++ b/front-end/src/views/Blog/index.vue
@@ -125,10 +125,12 @@ import Content from './components/Content.vue';
usePageGuard();
useTitle('CMNext Admin')
-//Load scripts
-const ckEditorTag = useScriptTag("https://cdn.ckeditor.com/ckeditor5/35.4.0/super-build/ckeditor.js")
-//Store the wait result on the window for the editor script to wait
-window.editorLoadResult = ckEditorTag.load(true);
+if(!window.CKEDITOR){
+ //Load scripts
+ const ckEditorTag = useScriptTag("https://cdn.ckeditor.com/ckeditor5/35.4.0/super-build/ckeditor.js")
+ //Store the wait result on the window for the editor script to wait
+ window.editorLoadResult = ckEditorTag.load(true);
+}
const { userName, getProfile } = useUser()
@@ -241,7 +243,7 @@ const onTabChange = (id:number) => tabIdQ.value = id.toString(10)
}
&:disabled{
- @apply text-rose-400 border-transparent;
+ @apply text-rose-400;
}
}
@@ -258,6 +260,10 @@ const onTabChange = (id:number) => tabIdQ.value = id.toString(10)
.dynamic-form.input-label{
@apply col-span-2 text-right m-auto mr-2;
}
+
+ .dynamic-form.dynamic-input.input:disabled + .dynamic-form.field-description {
+ @apply hidden;
+ }
}
}