From e269fe73da678e748aedfbed39a7b33453b4d7c0 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Sun, 8 Aug 2021 00:39:40 +0200 Subject: [PATCH] Define CodeMirror in external codeMirror.ts --- ts/editor/MathjaxHandleEditor.svelte | 26 ++-------------- ts/editor/codable.ts | 38 ++--------------------- ts/editor/codeMirror.ts | 45 ++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 59 deletions(-) create mode 100644 ts/editor/codeMirror.ts diff --git a/ts/editor/MathjaxHandleEditor.svelte b/ts/editor/MathjaxHandleEditor.svelte index 38778c518..1b8eb7b0e 100644 --- a/ts/editor/MathjaxHandleEditor.svelte +++ b/ts/editor/MathjaxHandleEditor.svelte @@ -5,35 +5,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html