{"action":"created","issue":{"url":"https://api.github.com/repos/zenoamaro/react-quill/issues/22","labels_url":"https://api.github.com/repos/zenoamaro/react-quill/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/zenoamaro/react-quill/issues/22/comments","events_url":"https://api.github.com/repos/zenoamaro/react-quill/issues/22/events","html_url":"https://github.com/zenoamaro/react-quill/issues/22","id":98636153,"number":22,"title":"How can I determine if the enter key was pressed?","user":{"login":"hackingbeauty","id":20127,"avatar_url":"https://avatars.githubusercontent.com/u/20127?v=3","gravatar_id":"","url":"https://api.github.com/users/hackingbeauty","html_url":"https://github.com/hackingbeauty","followers_url":"https://api.github.com/users/hackingbeauty/followers","following_url":"https://api.github.com/users/hackingbeauty/following{/other_user}","gists_url":"https://api.github.com/users/hackingbeauty/gists{/gist_id}","starred_url":"https://api.github.com/users/hackingbeauty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackingbeauty/subscriptions","organizations_url":"https://api.github.com/users/hackingbeauty/orgs","repos_url":"https://api.github.com/users/hackingbeauty/repos","events_url":"https://api.github.com/users/hackingbeauty/events{/privacy}","received_events_url":"https://api.github.com/users/hackingbeauty/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-02T20:43:50Z","updated_at":"2015-08-06T08:15:26Z","closed_at":"2015-08-05T11:16:28Z","body":"The onTextChange function provides a delta argument that gives you the last keystroke.\r\n\r\nIf I hit the enter key, the delta returns \"↵\", but I can't query for that in my JS code.\r\n\r\nIs there another way to query for certain key strokes?"},"comment":{"url":"https://api.github.com/repos/zenoamaro/react-quill/issues/comments/128286775","html_url":"https://github.com/zenoamaro/react-quill/issues/22#issuecomment-128286775","issue_url":"https://api.github.com/repos/zenoamaro/react-quill/issues/22","id":128286775,"user":{"login":"zenoamaro","id":493139,"avatar_url":"https://avatars.githubusercontent.com/u/493139?v=3","gravatar_id":"","url":"https://api.github.com/users/zenoamaro","html_url":"https://github.com/zenoamaro","followers_url":"https://api.github.com/users/zenoamaro/followers","following_url":"https://api.github.com/users/zenoamaro/following{/other_user}","gists_url":"https://api.github.com/users/zenoamaro/gists{/gist_id}","starred_url":"https://api.github.com/users/zenoamaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenoamaro/subscriptions","organizations_url":"https://api.github.com/users/zenoamaro/orgs","repos_url":"https://api.github.com/users/zenoamaro/repos","events_url":"https://api.github.com/users/zenoamaro/events{/privacy}","received_events_url":"https://api.github.com/users/zenoamaro/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T08:15:26Z","updated_at":"2015-08-06T08:15:26Z","body":"There is a note in the README that explains that why you have to bind to `onKeyUp` to receive events from keys like `enter`, `backspace` or `delete`. Please try this and let me know."}}