From: Alexander Ebert Date: Mon, 31 Mar 2014 23:02:44 +0000 (+0200) Subject: More dirty work-arounds X-Git-Tag: 2.1.0_Alpha_1~925 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7869d69c9f8b612a6a86f873c6051b72cf643e1d;p=GitHub%2FWoltLab%2FWCF.git More dirty work-arounds --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js index 4381336401..031289470c 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js @@ -164,9 +164,13 @@ RedactorPlugins.wutil = { */ submit: function() { if (this.inWysiwygMode()) { - this.sync(); + this.toggle(); + + var $content = this.$source.val(); + + this.toggle(); - this._convertFromHtml(); + this.$source.val($content); } this.autosavePurge();