diff --git a/src/lib/components/notes/NoteEditor.svelte b/src/lib/components/notes/NoteEditor.svelte index e81f1ff1a3..168a21225e 100644 --- a/src/lib/components/notes/NoteEditor.svelte +++ b/src/lib/components/notes/NoteEditor.svelte @@ -864,34 +864,44 @@ Provide the enhanced notes in markdown format. Use markdown syntax for headings,
{ + if (e.deltaY !== 0) { + e.preventDefault(); + e.currentTarget.scrollLeft += e.deltaY; + } + }} > - + {dayjs(note.created_at / 1000000).calendar()} + - + You + - {#if editor} -
-
- {$i18n.t('{{count}} words', { - count: wordCount - })} + {#if editor} +
+
+ {$i18n.t('{{count}} words', { + count: wordCount + })} +
+
+ {$i18n.t('{{count}} characters', { + count: charCount + })} +
-
- {$i18n.t('{{count}} characters', { - count: charCount - })} -
-
- {/if} + {/if} +