Skip to content

Commit

Permalink
Desktop: Load Codemirror css in index.html (#3673)
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebJohn authored Sep 4, 2020
1 parent 652816f commit 30e0d69
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions ElectronClient/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<link rel="stylesheet" href="node_modules/@fortawesome/fontawesome-free/css/all.min.css">
<link rel="stylesheet" href="node_modules/react-datetime/css/react-datetime.css">
<link rel="stylesheet" href="node_modules/smalltalk/css/smalltalk.css">
<link rel="stylesheet" href="node_modules/codemirror/lib/codemirror.css">

<style>
.smalltalk {
Expand Down

0 comments on commit 30e0d69

Please sign in to comment.