-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding charCode compare(multilanguage support) #456
Conversation
Thanks for your PR! Could you elaborate on what you do and why? If you contribute fixes, please also consider adding accompanying test cases. |
keys.indexOf(event.key) > -1 |
Hello! Thanks for your reply! |
To better understand your case you'd still press |
Yes, all shortcuts works like earlier, but not only in english locale |
This is an interesting detail, indeed. Looking at my german keyboard (where Guess we'll need to investigate this issue a little further. |
So look on it not like CTRL+Z(on english) or CTRL+Y(on german) or CTRL+Я(on russian) |
Actually, undoing on a German keyboard is CTRL + Z, the physical key is just somewhere else on the keyboard. |
So the issue is that |
We shouldn't use |
Hello @philippfromme! |
Added charCode compare(multilanguage support)
The proplem it fixed is hotkeys (ctrl+z, ctrl+c ... etc.) not working in other locales.
Now hotkeys working in all languales (Russian, Serbian... etc.) :)