From e03ccb16f2ef710dfc0b9a11e19d292bea780c3d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 26 Aug 2014 16:35:24 +0200 Subject: [PATCH] Resetting editor did not properly revert to initial state --- wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js index a4a84b98bb..8bf1d7a275 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js @@ -170,7 +170,7 @@ RedactorPlugins.wutil = { */ reset: function() { if (this.inWysiwygMode()) { - this.$editor.empty(); + this.$editor.html('

' + this.opts.invisibleSpace + '

'); this.sync(); } else { -- 2.20.1