diff --git a/js/editor.js b/js/editor.js index 958f9a8c..a99de253 100644 --- a/js/editor.js +++ b/js/editor.js @@ -439,6 +439,10 @@ var Files_Texteditor = { * Configure the ACE editor */ configureACE: function(file) { + ace.require('ace/config').set( + 'basePath', + OC.filePath('files_texteditor', 'js', 'core/vendor/ace-builds/src-noconflict') + ); window.aceEditor = ace.edit(this.editor); aceEditor.getSession().setNewLineMode("windows"); aceEditor.setShowPrintMargin(false);