From: Alexander Ebert Date: Mon, 29 Jul 2013 15:44:50 +0000 (+0200) Subject: Removed debug code X-Git-Tag: 2.0.0_Beta_6~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7fd6e30bff1b88780c5371d422698edcee0d2f2c;p=GitHub%2FWoltLab%2FWCF.git Removed debug code --- 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 780a8dc1a0..e88d413938 100644 --- a/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js +++ b/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js @@ -13,7 +13,6 @@ * Fixes issues with pasted html. */ event.editor.on('paste', function(ev) { - console.debug("currentValue = " + ev.data.dataValue); if (ev.data.type == 'html') { var $value = ev.data.dataValue; @@ -29,15 +28,12 @@ // convert lists into new lines $value = $value.replace(/<\/li>/gi, "\n"); - console.debug($value); // remove html tags $value = $value.replace(/<[^>]+>/g, ''); // fix multiple new lines $value = $value.replace(/\n{3,}/gi,"\n\n"); - window.dtdesign = $value; - ev.data.dataValue = $value; $pasted = true; @@ -321,7 +317,6 @@ * Converts html to bbcodes. */ var toDataFormat = function(html, fixForBody) { - console.debug("toDataFormat"); if (html == '
' || html == '


') { return ""; } @@ -438,5 +433,5 @@ html = html.replace(/%20/g, ' '); return html; - } + }; })();