Enable the iOS workaround for misaligned carets for the desktop Safari
authorAlexander Ebert <ebert@woltlab.com>
Wed, 3 Jun 2020 11:42:45 +0000 (13:42 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 3 Jun 2020 11:42:45 +0000 (13:42 +0200)
wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabCaret.js

index cd38dc46672eecf342924b23ba404e2378c68cef..24fe65fabe2f296dca74e57629c8128bde23aca1 100644 (file)
@@ -20,7 +20,7 @@ $.Redactor.prototype.WoltLabCaret = function() {
                        
                        var mpStart = this.caret.start;
                        this.caret.start = (function (node) {
-                               if (_isSafari && _iOS) {
+                               if (_isSafari) {
                                        var sel, range;
                                        node = this.caret.prepare(node);