From 30e0d69a740b0d70041618f77479bda269292b50 Mon Sep 17 00:00:00 2001 From: Caleb John Date: Fri, 4 Sep 2020 17:02:20 -0600 Subject: [PATCH] Desktop: Load Codemirror css in index.html (#3673) --- .../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 71591a710..5f18bdf48 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 577ae3eca..cae72fd08 100644 --- a/ElectronClient/index.html +++ b/ElectronClient/index.html @@ -12,6 +12,7 @@ +