From: Alexander Ebert Date: Tue, 11 Mar 2014 12:43:01 +0000 (+0100) Subject: Proper fix, the

seems no longer be necessary at all X-Git-Tag: 2.0.4~23^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=67ae95ebd2565887ac41622b6e61c2cfb8c1eede;p=GitHub%2FWoltLab%2FWCF.git Proper fix, the

seems no longer be necessary at all --- diff --git a/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js b/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js index cd0501ed48..8f8fe769f8 100644 --- a/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js +++ b/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js @@ -78,12 +78,6 @@ if ($.browser.mozilla) { fixFirefox(); - - // fix empty

breaking firefox - var $div = $(event.editor.container.$).find('.cke_wysiwyg_div'); - if ($div.html() == '

') { - $div.children('p').remove(); - } } }); @@ -213,7 +207,7 @@ * Converts bbcodes to html. */ var toHtml = function(data, fixForBody) { - if ($.trim(data) === "") return "

"; + //if ($.trim(data) === "") return "

"; // remove 0x200B (unicode zero width space) data = removeCrap(data);