diff --git a/ts/editor/mathjax-overlay/MathjaxMenu.svelte b/ts/editor/mathjax-overlay/MathjaxMenu.svelte index 4646b20f8..f1964e069 100644 --- a/ts/editor/mathjax-overlay/MathjaxMenu.svelte +++ b/ts/editor/mathjax-overlay/MathjaxMenu.svelte @@ -20,10 +20,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html const acceptShortcut = "Enter"; const newlineShortcut = "Shift+Enter"; - function appendNewline(): void { - code.update((value) => `${value}\n`); - } - export let updateSelection: () => Promise; let dropdownApi: any; @@ -53,7 +49,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html keyCombination={acceptShortcut} on:action={() => dispatch("moveoutend")} /> -