diff --git a/src/lib/components/Checklist.svelte b/src/lib/components/Checklist.svelte index 79507fc..33c0973 100644 --- a/src/lib/components/Checklist.svelte +++ b/src/lib/components/Checklist.svelte @@ -120,7 +120,7 @@ class="space-y-1" > {#each activeItems as item (item.id)} -
+
diff --git a/src/lib/components/NoteEditor.svelte b/src/lib/components/NoteEditor.svelte index 8d53303..d823879 100644 --- a/src/lib/components/NoteEditor.svelte +++ b/src/lib/components/NoteEditor.svelte @@ -30,7 +30,7 @@ // svelte-ignore state_referenced_locally let checklistMode = $state(note?.checklistMode ?? false); let showColorPicker = $state(false); - let rawMarkdownMode = $state(false); + let rawMarkdownMode = $state(note?.checklistMode ?? false); let textareaEl: HTMLTextAreaElement | undefined = $state(); let tiptapEditor: Editor | undefined = $state(); let editorTick = $state(0); @@ -166,8 +166,9 @@