From 8fc732d8792c423277c55c03775b726ca7122e8b Mon Sep 17 00:00:00 2001 From: Caleb James DeLisle Date: Tue, 4 Nov 2014 10:52:15 +0100 Subject: [PATCH] remove the 'magic line' because it causes problems with the realtime --- www/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/main.js b/www/main.js index 2b5da81ec..9ebd04b06 100644 --- a/www/main.js +++ b/www/main.js @@ -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');