This commit is contained in:
Lee Doughty 2025-12-21 13:10:13 +00:00 committed by GitHub
commit 481f1e1856
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,6 +20,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
preventBuiltinShortcuts,
useFocusHandler,
} from "./content-editable";
import { pageTheme } from "$lib/sveltelib/theme";
export let resolve: (editable: HTMLElement) => void;
@ -41,6 +42,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</script>
<anki-editable
class:nightMode={$pageTheme.isDark}
contenteditable="true"
role="textbox"
tabindex="0"