e.preventDefault()}>
{#if stylesOpen} {/if}
{#if asSource} {/if}
{ colourCode(); onsave?.(); }} onkeyup={() => { readState(); readSuggestions(); }} onclick={onEditorClick} onmouseup={readState} {onkeydown} {onpaste} {ondragover} {ondrop} ondragleave={() => (dropping = false)} class:dropping >
{#if suggestions.length} {/if}

{#each SYNTAX as item} {item.mark} {t(item.what)} {/each}

{#if showing} {/if} { if (showing && e.key === 'Escape') { e.stopPropagation(); closeImage(); } }} />