diff --git a/js/editor.js b/js/editor.js index 4c65458e..af0af6c0 100644 --- a/js/editor.js +++ b/js/editor.js @@ -440,6 +440,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);