Fixed caret position partially lost on link edit
authorAlexander Ebert <ebert@woltlab.com>
Mon, 5 Sep 2016 15:43:50 +0000 (17:43 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 5 Sep 2016 15:54:51 +0000 (17:54 +0200)
wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabLink.js

index 1f742ce74156c54c04d9070449c4d10494ad1219..6c159b0517549e567f811e91fca5014b44761b5b 100644 (file)
@@ -38,7 +38,7 @@ $.Redactor.prototype.WoltLabLink = function() {
                                                return false;
                                        }
                                        
-                                       //this.selection.restore();
+                                       this.selection.restore();
                                        
                                        // insert or update
                                        this.link.insert(link, true);