remove the 'magic line' because it causes problems with the realtime

This commit is contained in:
Caleb James DeLisle 2014-11-04 10:52:15 +01:00
parent 0d3ded68a0
commit 8fc732d879
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ define([
var key = parseKey(window.location.hash.substring(1)); var key = parseKey(window.location.hash.substring(1));
var editor = Ckeditor.replace('editor1', { var editor = Ckeditor.replace('editor1', {
removeButtons: 'Source,Maximize', removeButtons: 'Source,Maximize',
// This plugin inserts html crap into the document which is not part of the document
// itself and causes problems when it's sent across the wire and reflected back.
removePlugins = 'magicline'
}); });
editor.on('instanceReady', function () { editor.on('instanceReady', function () {
editor.execCommand('maximize'); editor.execCommand('maximize');