From: Alexander Ebert Date: Wed, 3 Jun 2020 11:42:45 +0000 (+0200) Subject: Enable the iOS workaround for misaligned carets for the desktop Safari X-Git-Tag: 5.2.7~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=66f53ac3c60a58485472b83ec33500024dd8267c;p=GitHub%2FWoltLab%2FWCF.git Enable the iOS workaround for misaligned carets for the desktop Safari --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabCaret.js b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabCaret.js index cd38dc4667..24fe65fabe 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabCaret.js +++ b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabCaret.js @@ -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);