mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 07:43:58 +00:00
Merge pull request #339 from sharelatex/ja-fix-accent-keys
Patch Ace to fix accent key problem in Chrome
This commit is contained in:
commit
436d63fa12
1 changed files with 3 additions and 0 deletions
|
@ -2283,6 +2283,9 @@ var TextInput = function(parentNode, host) {
|
|||
if (e.type == "compositionend" && c.range) {
|
||||
host.selection.setRange(c.range);
|
||||
}
|
||||
// WORKAROUND: Accent keys and Korean keys don't work in Chrome >53.
|
||||
// https://github.com/ajaxorg/ace/issues/3045
|
||||
if (useragent.isChrome >= 53) onInput();
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue