From fce27202d9ac2de16cfd9c076cf52bb783217080 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 17 Jul 2025 02:37:18 +0400 Subject: [PATCH] refac --- .../RichTextInput/FormattingButtons.svelte | 27 +++++++++++++++++++ src/lib/components/icons/ArrowLeftTag.svelte | 20 ++++++++++++++ src/lib/components/icons/ArrowRightTag.svelte | 20 ++++++++++++++ .../components/notes/Notes/NoteMenu.svelte | 4 ++- 4 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 src/lib/components/icons/ArrowLeftTag.svelte create mode 100644 src/lib/components/icons/ArrowRightTag.svelte diff --git a/src/lib/components/common/RichTextInput/FormattingButtons.svelte b/src/lib/components/common/RichTextInput/FormattingButtons.svelte index e2b9adac94..47c6e64e44 100644 --- a/src/lib/components/common/RichTextInput/FormattingButtons.svelte +++ b/src/lib/components/common/RichTextInput/FormattingButtons.svelte @@ -17,6 +17,8 @@ import Tooltip from '../Tooltip.svelte'; import CheckBox from '$lib/components/icons/CheckBox.svelte'; + import ArrowLeftTag from '$lib/components/icons/ArrowLeftTag.svelte'; + import ArrowRightTag from '$lib/components/icons/ArrowRightTag.svelte';
+ {#if editor?.isActive('bulletList') || editor?.isActive('orderedList') || editor?.isActive('taskList')} + + + + + + + + {/if} +