diff --git a/www/pad/wysiwygarea-plugin.js b/www/pad/wysiwygarea-plugin.js index 7a0d08788..0836428e9 100644 --- a/www/pad/wysiwygarea-plugin.js +++ b/www/pad/wysiwygarea-plugin.js @@ -487,16 +487,6 @@ define(['/api/config'], function (ApiConfig) { CKEDITOR.tools.callFunction(fw._.frameLoadedHandler, _iframe.contentWindow); }, 10); return; - - // Work around Firefox bug - error prune when called from XUL (http://dev.ckeditor.com/ticket/320), - // defer it thanks to the async nature of this method. - try { - doc.write( data ); - } catch ( e ) { - setTimeout( function() { - doc.write( data ); - }, 0 ); - } } }, @@ -737,4 +727,4 @@ CKEDITOR.config.disableNativeSpellChecker = true; * @member CKEDITOR.editor * @param {CKEDITOR.editor} editor This editor instance. * @param {CKEDITOR.dom.element} data The element being added. - */ \ No newline at end of file + */