Fixed an issue with lists at the end of a message
authorAlexander Ebert <ebert@woltlab.com>
Fri, 14 Aug 2015 12:50:49 +0000 (14:50 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 14 Aug 2015 12:50:49 +0000 (14:50 +0200)
wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js

index d92327f8b25ea97660fe2ebca9370ddd7973d06a..b228996d8be91850f86a4beafc72918454866ac1 100644 (file)
@@ -133,6 +133,7 @@ RedactorPlugins.wbbcode = function() {
                                        this.$textarea.val(this.wbbcode.convertToHtml(this.$textarea.val()));
                                        this.code.offset = this.$textarea.val().length;
                                        this.code.showVisual();
+                                       this.wutil.fixDOM();
                                        this.wbbcode.fixBlockLevelElements();
                                        this.wutil.selectionEndOfEditor();
                                        this.wbbcode.observeQuotes();