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) {