From 0e9214f717279d88cc99ae36637256282f11b682 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Sun, 26 Nov 2023 12:51:55 +0000 Subject: [PATCH] fix: title and description on community post to support dark mode (#55) * fix: implement dark mode for tinymce * bug on first render --- .../lib/components/TextEditor/index.svelte | 29 ++++++++++++++++++- .../src/routes/lms/community/ask/+page.svelte | 25 +++++----------- .../org/[slug]/community/ask/+page.svelte | 25 +++++----------- 3 files changed, 44 insertions(+), 35 deletions(-) diff --git a/apps/dashboard/src/lib/components/TextEditor/index.svelte b/apps/dashboard/src/lib/components/TextEditor/index.svelte index 146a4d65..16b6c8d9 100644 --- a/apps/dashboard/src/lib/components/TextEditor/index.svelte +++ b/apps/dashboard/src/lib/components/TextEditor/index.svelte @@ -1,6 +1,7 @@
- + {#if !unmount} + + {/if}
diff --git a/apps/dashboard/src/routes/lms/community/ask/+page.svelte b/apps/dashboard/src/routes/lms/community/ask/+page.svelte index 9824ab71..5d27b44f 100644 --- a/apps/dashboard/src/routes/lms/community/ask/+page.svelte +++ b/apps/dashboard/src/routes/lms/community/ask/+page.svelte @@ -1,4 +1,4 @@ -