diff --git a/app/app/components/section/code/type-editor.js b/app/app/components/section/code/type-editor.js index 37e6f5f6..14fb6f68 100644 --- a/app/app/components/section/code/type-editor.js +++ b/app/app/components/section/code/type-editor.js @@ -23,7 +23,7 @@ export default Ember.Component.extend(TooltipMixin, { this._super(...arguments); let self = this; - CodeMirror.modeURL = "codemirror/mode/%N/%N.js"; + CodeMirror.modeURL = "/codemirror/mode/%N/%N.js"; let rawBody = this.get('meta.rawBody'); let cleanBody = rawBody.replace("", "");