From 499b83fa8d47f592bd7d79cab270d5cfc12652be Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sun, 25 Oct 2026 00:23:10 +0200 Subject: [PATCH] fix: imported note shows its text twice when two people open it at the same time (#33004) A note imported from a .md or .txt file on the Notes page and not edited since showed all of its text twice when two people opened it at the same time, and the doubled text was then saved into the note. The shared editing session is now the only place that loads the text of such a note, the same as for notes that were already edited, so it opens once for everyone. Like an edited note, it now needs the live connection to show its text. Fixes #33002 --- src/lib/components/common/RichTextInput.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index 5246557089..0cd1722974 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -411,7 +411,7 @@ }); } - $: if (value === null && html !== null && editor) { + $: if (value === null && html !== null && editor && !provider) { editor.commands.setContent(html); }