From c59f5e046ead870a2ef301bd8a0577955879dd00 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 26 Aug 2014 19:35:07 +0200 Subject: [PATCH] Fixed autosave-restore not converting BBCodes --- wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js index 8bf1d7a275..3e05818331 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js @@ -243,10 +243,7 @@ RedactorPlugins.wutil = { var $text = localStorage.getItem($options.key); if ($text !== null) { if (this.inWysiwygMode()) { - this.toggle(false); - this.$source.val($text); - this.toggle(false); - this.focusEnd(); + this.setOption('wOriginalValue', $text); } else { this.$source.val($text); -- 2.20.1