From 66f53ac3c60a58485472b83ec33500024dd8267c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 3 Jun 2020 13:42:45 +0200 Subject: [PATCH] Enable the iOS workaround for misaligned carets for the desktop Safari --- .../install/files/js/3rdParty/redactor2/plugins/WoltLabCaret.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1