From 752fc83bbe4e64eeb0b64be59806939f3fb60f54 Mon Sep 17 00:00:00 2001 From: PascalMarchesseault <97350299+PascalMarchesseault@users.noreply.github.com> Date: Wed, 23 Oct 2024 21:14:05 -0400 Subject: [PATCH] Improvement of the content creation menu --- src/views/contents/ContentEditorPage.vue | 56 ++++++++++++++---------- 1 file changed, 32 insertions(+), 24 deletions(-) diff --git a/src/views/contents/ContentEditorPage.vue b/src/views/contents/ContentEditorPage.vue index 00f12cc..bd30b59 100644 --- a/src/views/contents/ContentEditorPage.vue +++ b/src/views/contents/ContentEditorPage.vue @@ -3,17 +3,14 @@ import { ref } from 'vue'; import HTMLContentEditor from "@/views/contents/HTMLContentEditor.vue"; import QuickyContentEditor from "@/views/contents/QuickyContentEditor.vue"; - const showQuickyEditor = ref(true); const showHtmlEditor = ref(false); - const toggleQuickyEditor = () => { showQuickyEditor.value = true; showHtmlEditor.value = false; }; - const toggleHtmlEditor = () => { showHtmlEditor.value = true; showQuickyEditor.value = false; @@ -21,41 +18,52 @@ const toggleHtmlEditor = () => {