mirror of https://github.com/xwiki-labs/cryptpad
remove the 'magic line' because it causes problems with the realtime
This commit is contained in:
parent
0d3ded68a0
commit
8fc732d879
|
@ -36,6 +36,9 @@ define([
|
|||
var key = parseKey(window.location.hash.substring(1));
|
||||
var editor = Ckeditor.replace('editor1', {
|
||||
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.execCommand('maximize');
|
||||
|
|
Loading…
Reference in New Issue