From 53e208a9a98624f3214b3c7b65078d5592a77e29 Mon Sep 17 00:00:00 2001 From: PascalMarchesseault <97350299+PascalMarchesseault@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:32:19 -0400 Subject: [PATCH] I mixed both types of posts in the same editor. --- src/views/contents/ContentEditorPage.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/contents/ContentEditorPage.vue b/src/views/contents/ContentEditorPage.vue index 24e67a8..00f12cc 100644 --- a/src/views/contents/ContentEditorPage.vue +++ b/src/views/contents/ContentEditorPage.vue @@ -3,17 +3,17 @@ import { ref } from 'vue'; import HTMLContentEditor from "@/views/contents/HTMLContentEditor.vue"; import QuickyContentEditor from "@/views/contents/QuickyContentEditor.vue"; -// Variables réactives pour gérer l'état des éditeurs -const showQuickyEditor = ref(true); // Par défaut, Quicky Editor est affiché + +const showQuickyEditor = ref(true); const showHtmlEditor = ref(false); -// Fonction pour afficher le Quicky Editor + const toggleQuickyEditor = () => { showQuickyEditor.value = true; showHtmlEditor.value = false; }; -// Fonction pour afficher le HTML Editor + const toggleHtmlEditor = () => { showHtmlEditor.value = true; showQuickyEditor.value = false; @@ -28,12 +28,12 @@ const toggleHtmlEditor = () => { - -