Use CodeMirror in /slide #2

Fix title errors in the slide app caused by the present mode
This commit is contained in:
yflory
2016-10-03 14:21:39 +02:00
parent 8c33218ceb
commit 391728ee6d
9 changed files with 98 additions and 33 deletions

View File

@@ -9,8 +9,8 @@ define([
'json.sortify',
'/bower_components/chainpad-json-validator/json-ot.js',
'/common/cryptpad-common.js',
'/code/modes.js',
'/code/themes.js',
'/common/modes.js',
'/common/themes.js',
'/common/visible.js',
'/common/notify.js',
'/bower_components/file-saver/FileSaver.min.js',
@@ -80,7 +80,7 @@ define([
editor.setValue(Messages.codeInitialState); // HERE
var setTheme = module.setTheme = (function () {
var path = './theme/';
var path = '/common/theme/';
var $head = $(ifrw.document.head);