{"action":"created","issue":{"url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/471","repository_url":"https://api.github.com/repos/ProseMirror/prosemirror","labels_url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/471/comments","events_url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/471/events","html_url":"https://github.com/ProseMirror/prosemirror/issues/471","id":182479780,"number":471,"title":"event.code cannot be trusted in every language","user":{"login":"kapouer","id":131406,"avatar_url":"https://avatars.githubusercontent.com/u/131406?v=3","gravatar_id":"","url":"https://api.github.com/users/kapouer","html_url":"https://github.com/kapouer","followers_url":"https://api.github.com/users/kapouer/followers","following_url":"https://api.github.com/users/kapouer/following{/other_user}","gists_url":"https://api.github.com/users/kapouer/gists{/gist_id}","starred_url":"https://api.github.com/users/kapouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapouer/subscriptions","organizations_url":"https://api.github.com/users/kapouer/orgs","repos_url":"https://api.github.com/users/kapouer/repos","events_url":"https://api.github.com/users/kapouer/events{/privacy}","received_events_url":"https://api.github.com/users/kapouer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-12T09:39:00Z","updated_at":"2016-10-12T12:13:00Z","closed_at":null,"body":"This:\r\nhttps://github.com/ProseMirror/prosemirror-keymap/blob/647d563/src/keymap.js#L104\r\ndoes not return the right key names for azerty keyboards on chromium 53 and firefox 45.\r\n\r\nFor example it returns \"KeyQ\" when i type \"a\".\r\n\r\nprosemirror 0.10 did not have that problem because `event.code` wasn't used at all.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/comments/253196754","html_url":"https://github.com/ProseMirror/prosemirror/issues/471#issuecomment-253196754","issue_url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/471","id":253196754,"user":{"login":"marijnh","id":144427,"avatar_url":"https://avatars.githubusercontent.com/u/144427?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnh","html_url":"https://github.com/marijnh","followers_url":"https://api.github.com/users/marijnh/followers","following_url":"https://api.github.com/users/marijnh/following{/other_user}","gists_url":"https://api.github.com/users/marijnh/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnh/subscriptions","organizations_url":"https://api.github.com/users/marijnh/orgs","repos_url":"https://api.github.com/users/marijnh/repos","events_url":"https://api.github.com/users/marijnh/events{/privacy}","received_events_url":"https://api.github.com/users/marijnh/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T12:13:00Z","updated_at":"2016-10-12T12:13:00Z","body":"Hm, what a mess. `KeyboardEvent.key` can't be robustly emulated on browsers that don't support it, and `.code` is not usable for the reason you describe. So I guess the fancy new key event properties are pretty much useless for this kind of use case, and we'll have to work with out own crummy custom key names after all. I'll give this some more thought soon."}}
{"actor":{"display_login":"marijnh"}}