diff --git a/src/lib/components/notes/NoteEditor.svelte b/src/lib/components/notes/NoteEditor.svelte
index 6d9cb1b8e2..b28a7b36bf 100644
--- a/src/lib/components/notes/NoteEditor.svelte
+++ b/src/lib/components/notes/NoteEditor.svelte
@@ -810,39 +810,6 @@ Provide the enhanced notes in markdown format. Use markdown syntax for headings,
{/if}
- {
- downloadHandler(type);
- }}
- onCopyLink={async () => {
- const baseUrl = window.location.origin;
- const res = await copyToClipboard(`${baseUrl}/notes/${note.id}`);
-
- if (res) {
- toast.success($i18n.t('Copied link to clipboard'));
- } else {
- toast.error($i18n.t('Failed to copy link'));
- }
- }}
- onCopyToClipboard={async () => {
- const res = await copyToClipboard(note.data.content.md).catch((error) => {
- toast.error(`${error}`);
- return null;
- });
-
- if (res) {
- toast.success($i18n.t('Copied to clipboard'));
- }
- }}
- onDelete={() => {
- showDeleteConfirm = true;
- }}
- >
-
-
-
-
-
+
+ {
+ downloadHandler(type);
+ }}
+ onCopyLink={async () => {
+ const baseUrl = window.location.origin;
+ const res = await copyToClipboard(`${baseUrl}/notes/${note.id}`);
+
+ if (res) {
+ toast.success($i18n.t('Copied link to clipboard'));
+ } else {
+ toast.error($i18n.t('Failed to copy link'));
+ }
+ }}
+ onCopyToClipboard={async () => {
+ const res = await copyToClipboard(note.data.content.md).catch((error) => {
+ toast.error(`${error}`);
+ return null;
+ });
+
+ if (res) {
+ toast.success($i18n.t('Copied to clipboard'));
+ }
+ }}
+ onDelete={() => {
+ showDeleteConfirm = true;
+ }}
+ >
+
+
+
+