1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

code mirror URL fixed

This commit is contained in:
Harvey Kandola 2016-11-03 11:38:55 -07:00
parent caaa28f243
commit 92f0a7281a

View file

@ -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("</pre>", "");