From cdd39e79fa1f68e64061eba9f500c9bd0bdb0fe8 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 17 Jan 2017 20:24:59 +0100 Subject: [PATCH] Enabled spellcheck in Chrome for Android again --- .../js/3rdParty/redactor2/plugins/WoltLabCaret.js | 11 ----------- 1 file changed, 11 deletions(-) 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) { -- 2.20.1