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(); + } + }} + /> +