From: Alexander Ebert Date: Tue, 17 Jan 2017 19:24:59 +0000 (+0100) Subject: Enabled spellcheck in Chrome for Android again X-Git-Tag: 3.0.1~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cdd39e79fa1f68e64061eba9f500c9bd0bdb0fe8;p=GitHub%2FWoltLab%2FWCF.git Enabled spellcheck in Chrome for Android again --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabCaret.js b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabCaret.js index c6da5149ab..850028ba14 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabCaret.js +++ b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabCaret.js @@ -36,17 +36,6 @@ $.Redactor.prototype.WoltLabCaret = function() { this.$editor[0].addEventListener(WCF_CLICK_EVENT, this.WoltLabCaret._handleEditorClick.bind(this)); this.WoltLabCaret._initInternalRange(); - - require(['Environment'], (function (Environment) { - if (Environment.browser() === 'chrome' && Environment.platform() === 'android') { - // Chrome for Android exposes falsified keyboard event data, causing - // quite a few issues with keystrokes such as backspace. Turning off - // auto-complete works around the issue for now. - // - // https://bugs.chromium.org/p/chromium/issues/detail?id=118639 - elAttr(this.$editor[0], 'autocomplete', 'off'); - } - }).bind(this)); }, paragraphAfterBlock: function (block) {