diff --git a/src/lib/components/Editor.svelte b/src/lib/components/Editor.svelte index 8bcc27d..fbb0c4b 100644 --- a/src/lib/components/Editor.svelte +++ b/src/lib/components/Editor.svelte @@ -5708,7 +5708,6 @@ bind:this={sourceElement} bind:value={sourceContent} readonly={$readOnly} - onclick={() => { showOutline = false; }} oninput={() => { $editorDirty = true; autoSave(); @@ -5748,7 +5747,7 @@ spellcheck="false" > -
{ closeLinkContextMenu(); handleEditorClick(e); showOutline = false; }}>
+
{ closeLinkContextMenu(); handleEditorClick(e); }}>
{:else} {#if $sourceMode} @@ -5767,7 +5766,6 @@ bind:this={sourceElement} bind:value={sourceContent} readonly={$readOnly} - onclick={() => { showOutline = false; }} oninput={() => { $editorDirty = true; autoSave(); @@ -5858,7 +5856,7 @@ > {:else} -
{ closeLinkContextMenu(); handleEditorClick(e); showOutline = false; }} oncontextmenu={handleEditorContextMenu}>
+
{ closeLinkContextMenu(); handleEditorClick(e); }} oncontextmenu={handleEditorContextMenu}>
{/if} {/if}