From 682d472d3420b564738122f22024064c1898a063 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Tue, 13 Sep 2022 23:39:55 +0200 Subject: [PATCH] Move Symbols Overlay to NoteEditor root --- ts/editor/NoteEditor.svelte | 6 +- .../symbols-overlay/SymbolsOverlay.svelte | 66 +++++++++++++------ 2 files changed, 48 insertions(+), 24 deletions(-) diff --git a/ts/editor/NoteEditor.svelte b/ts/editor/NoteEditor.svelte index fd9336a10..8b3bb2dcf 100644 --- a/ts/editor/NoteEditor.svelte +++ b/ts/editor/NoteEditor.svelte @@ -447,9 +447,6 @@ the AddCards dialog) should be implemented in the user of this component. }} bind:this={richTextInputs[index]} > - {#if insertSymbols} - - {/if} {field.description} @@ -483,6 +480,9 @@ the AddCards dialog) should be implemented in the user of this component. + {#if insertSymbols} + + {/if}
diff --git a/ts/editor/symbols-overlay/SymbolsOverlay.svelte b/ts/editor/symbols-overlay/SymbolsOverlay.svelte index 49d8e3d58..f9f654bc3 100644 --- a/ts/editor/symbols-overlay/SymbolsOverlay.svelte +++ b/ts/editor/symbols-overlay/SymbolsOverlay.svelte @@ -3,7 +3,7 @@ Copyright: Ankitects Pty Ltd and contributors License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -->