From 13fa674bccc11db46f85094fc0d4502675b160c9 Mon Sep 17 00:00:00 2001 From: mgreminger Date: Sun, 15 Dec 2024 16:58:02 -0600 Subject: [PATCH] refactor: port DocumentTitle to runes mode --- src/DocumentTitle.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/DocumentTitle.svelte b/src/DocumentTitle.svelte index 3c8a1336..636c2c72 100644 --- a/src/DocumentTitle.svelte +++ b/src/DocumentTitle.svelte @@ -1,9 +1,9 @@

{$activeCell = -1; spellcheck = true}} - on:blur={() => spellcheck = false} + onfocus={() => {$activeCell = -1; spellcheck = true}} + onblur={() => spellcheck = false} contenteditable="true" bind:textContent={title} - on:input={() => $nonMathCellChanged=true} + oninput={() => $nonMathCellChanged=true} {spellcheck} >

\ No newline at end of file