quill-emoji icon indicating copy to clipboard operation
quill-emoji copied to clipboard

Keyboard binding for ":" is not working for German keyboard Layout

Open siznjk opened this issue 3 years ago • 2 comments

Issue ":" key does not trigger smiley on German layout (possible others). I have looked a bit into the issue and it seems the English and German Layouts have different id's for : key. English id being "186" and German being "190". Moreover, trying to type "Ü" results in ":" (which now triggers smiley popup) for first character and "Ü" for the rest , which causes unpredictable behavior.

Expected ":" key should trigger smiley popup on any keyboard layout

Possible solution might lie with module-emoji.js by using event.keys from Quill.

siznjk avatar Apr 21 '21 13:04 siznjk

I can confirm that : does not trigger the popup on Chrome or Firefox with language German-Austria.

christianhubmann avatar Jun 22 '22 08:06 christianhubmann

Any update on this? The colon key is not the same on all keyboards and many of them do not require to hold Shift to write it 😕

nicolasthy avatar Sep 05 '22 09:09 nicolasthy