Fix CSS in the slide app

This commit is contained in:
yflory 2017-07-03 11:34:30 +02:00
parent 5694505719
commit 9b131dc49c
2 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,10 @@ define([
'less!/customize/src/less/toolbar.less',
'less!/customize/src/less/cryptpad.less',
'less!/slide/slide.less',
'css!cm/lib/codemirror.css',
'css!cm/addon/dialog/dialog.css',
'css!cm/addon/fold/foldgutter.css',
], function ($) {
$('.loading-hidden').removeClass('loading-hidden');
});

View File

@ -53,7 +53,7 @@ define([
var andThen = function () {
var $iframe = $('#pad-iframe').contents();
var $contentContainer = $iframe.find('#editorContainer');
var CodeMirror = Cryptpad.createCodemirror(ifrw, Cryptpad, 'slide');
var CodeMirror = Cryptpad.createCodemirror(ifrw, Cryptpad, 'markdown');
editor = CodeMirror.editor;
var $bar = $('#pad-iframe')[0].contentWindow.$('#cme_toolbox');