From 1280372129c1a55f501feb25844561c7570c6485 Mon Sep 17 00:00:00 2001 From: Matthias Metelka <62722460+kleinerpirat@users.noreply.github.com> Date: Wed, 3 Aug 2022 20:02:44 +0200 Subject: [PATCH] Move PlainTextBadge between editing inputs where it belongs :) --- ts/editor/NoteEditor.svelte | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/ts/editor/NoteEditor.svelte b/ts/editor/NoteEditor.svelte index c53985962..e6aa1fa98 100644 --- a/ts/editor/NoteEditor.svelte +++ b/ts/editor/NoteEditor.svelte @@ -359,22 +359,19 @@ the AddCards dialog) should be implemented in the user of this component. > - - - { - plainTextsHidden[index] = - !plainTextsHidden[index]; - - if (!plainTextsHidden[index]) { - plainTextInputs[index].api.refocus(); - } - }} - /> - + { + plainTextsHidden[index] = !plainTextsHidden[index]; + + if (!plainTextsHidden[index]) { + plainTextInputs[index].api.refocus(); + } + }} + /> +