From f868862c0fbac7fac338c12211bd1ceeb0a4b391 Mon Sep 17 00:00:00 2001 From: Peter Weinberg Date: Fri, 13 Oct 2017 01:47:21 -0400 Subject: [PATCH] fix(editor): restore syntax highlighting for light theme --- common/app/routes/challenges/views/classic/Editor.jsx | 1 - server/views/partials/react-stylesheets.jade | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/common/app/routes/challenges/views/classic/Editor.jsx b/common/app/routes/challenges/views/classic/Editor.jsx index bade31f0d0..3240805455 100644 --- a/common/app/routes/challenges/views/classic/Editor.jsx +++ b/common/app/routes/challenges/views/classic/Editor.jsx @@ -24,7 +24,6 @@ const options = { }, lineNumbers: true, mode: 'javascript', - theme: 'freecodecamp', runnable: true, matchBrackets: true, autoCloseBrackets: true, diff --git a/server/views/partials/react-stylesheets.jade b/server/views/partials/react-stylesheets.jade index 98686bc05d..51d119bb73 100644 --- a/server/views/partials/react-stylesheets.jade +++ b/server/views/partials/react-stylesheets.jade @@ -1,8 +1,8 @@ link(rel='stylesheet', type='text/css' href='/css/lato.css') link(rel='stylesheet', type='text/css' href='/css/ubuntu.css') link(rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css') -link(rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.28.0/codemirror.min.css') -link(rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.28.0/addon/lint/lint.min.css') +link(rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.30.0/codemirror.min.css') +link(rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.30.0/addon/lint/lint.min.css') link(rel='stylesheet', href=rev('/css', 'main.css')) include meta