Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
πŸ› Fixed syntax highlighting inside Code Injection inputs
Browse files Browse the repository at this point in the history
no issue
- the CodeMirror and theme styles were not being correctly loaded
  • Loading branch information
kevinansfield committed Apr 29, 2019
1 parent 99375f7 commit 824e668
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const assetLocation = function (fileName) {

const codemirrorAssets = function () {
let codemirrorFiles = [
'theme/xq-light.css',
'lib/codemirror.js',
'mode/htmlmixed/htmlmixed.js',
'mode/xml/xml.js',
Expand Down Expand Up @@ -221,6 +220,8 @@ module.exports = function (defaults) {
// 'dem Styles
// import codemirror + simplemde styles rather than lazy-loading so that
// our overrides work correctly
app.import('node_modules/codemirror/lib/codemirror.css');
app.import('node_modules/codemirror/theme/xq-light.css');
app.import('node_modules/simplemde/dist/simplemde.min.css');

// 'dem Scripts
Expand Down

0 comments on commit 824e668

Please sign in to comment.