From 3a15bda49242b7096c4159d67ffb00fc137a69e3 Mon Sep 17 00:00:00 2001 From: CalebJohn Date: Thu, 27 Aug 2020 00:50:15 -0600 Subject: [PATCH] Load codemirror css in index.html --- .../gui/NoteEditor/NoteBody/CodeMirror/CodeMirror.tsx | 5 ----- ElectronClient/index.html | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ElectronClient/gui/NoteEditor/NoteBody/CodeMirror/CodeMirror.tsx b/ElectronClient/gui/NoteEditor/NoteBody/CodeMirror/CodeMirror.tsx index 71591a7106f..5f18bdf48b8 100644 --- a/ElectronClient/gui/NoteEditor/NoteBody/CodeMirror/CodeMirror.tsx +++ b/ElectronClient/gui/NoteEditor/NoteBody/CodeMirror/CodeMirror.tsx @@ -308,11 +308,6 @@ function CodeMirror(props: NoteBodyEditorProps, ref: any) { async function loadScripts() { const scriptsToLoad:{src: string, id:string, loaded: boolean}[] = [ - { - src: 'node_modules/codemirror/lib/codemirror.css', - id: 'codemirrorBaseStyle', - loaded: false, - }, { src: 'node_modules/codemirror/addon/dialog/dialog.css', id: 'codemirrorDialogStyle', diff --git a/ElectronClient/index.html b/ElectronClient/index.html index 577ae3eca42..cae72fd08f6 100644 --- a/ElectronClient/index.html +++ b/ElectronClient/index.html @@ -12,6 +12,7 @@ +