{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/942","labels_url":"https://api.github.com/repos/atom/electron/issues/942/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/942/comments","events_url":"https://api.github.com/repos/atom/electron/issues/942/events","html_url":"https://github.com/atom/electron/pull/942","id":52554580,"number":942,"title":"Add support for spell checking ","user":{"login":"zcbenz","id":639601,"avatar_url":"https://avatars.githubusercontent.com/u/639601?v=3","gravatar_id":"","url":"https://api.github.com/users/zcbenz","html_url":"https://github.com/zcbenz","followers_url":"https://api.github.com/users/zcbenz/followers","following_url":"https://api.github.com/users/zcbenz/following{/other_user}","gists_url":"https://api.github.com/users/zcbenz/gists{/gist_id}","starred_url":"https://api.github.com/users/zcbenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcbenz/subscriptions","organizations_url":"https://api.github.com/users/zcbenz/orgs","repos_url":"https://api.github.com/users/zcbenz/repos","events_url":"https://api.github.com/users/zcbenz/events{/privacy}","received_events_url":"https://api.github.com/users/zcbenz/received_events","type":"User","site_admin":true},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-20T06:34:16Z","updated_at":"2015-08-31T00:33:52Z","closed_at":"2014-12-20T22:25:32Z","pull_request":{"url":"https://api.github.com/repos/atom/electron/pulls/942","html_url":"https://github.com/atom/electron/pull/942","diff_url":"https://github.com/atom/electron/pull/942.diff","patch_url":"https://github.com/atom/electron/pull/942.patch"},"body":"This PR adds an `webFrame.setSpellCheckProvider` API to set a provider for spell checking in input fields and text areas.\r\n\r\nExample:\r\n\r\n```javascript\r\nrequire('web-frame').setSpellCheckProvider(\"en-US\", true, {\r\n  spellCheck: function(text) {\r\n    return !(require('spellchecker').isMisspelled(text));\r\n  }\r\n});\r\n```\r\n![screen shot 2014-12-19 at 10 33 14 pm](https://cloud.githubusercontent.com/assets/639601/5513983/0ecebc60-87cf-11e4-86c8-c480fd5b8f86.png)\r\n\r\n\r\nFixes #724."},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/136222744","html_url":"https://github.com/atom/electron/pull/942#issuecomment-136222744","issue_url":"https://api.github.com/repos/atom/electron/issues/942","id":136222744,"user":{"login":"aggregatejeff","id":6768600,"avatar_url":"https://avatars.githubusercontent.com/u/6768600?v=3","gravatar_id":"","url":"https://api.github.com/users/aggregatejeff","html_url":"https://github.com/aggregatejeff","followers_url":"https://api.github.com/users/aggregatejeff/followers","following_url":"https://api.github.com/users/aggregatejeff/following{/other_user}","gists_url":"https://api.github.com/users/aggregatejeff/gists{/gist_id}","starred_url":"https://api.github.com/users/aggregatejeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aggregatejeff/subscriptions","organizations_url":"https://api.github.com/users/aggregatejeff/orgs","repos_url":"https://api.github.com/users/aggregatejeff/repos","events_url":"https://api.github.com/users/aggregatejeff/events{/privacy}","received_events_url":"https://api.github.com/users/aggregatejeff/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T00:33:52Z","updated_at":"2015-08-31T00:33:52Z","body":"Looking through the code I don't see any way to pass back alternate spellings like so to populate a context menu. Am I missing something, or has that not been enabled?\r\n\r\n![screen shot 2015-08-30 at 5 32 51 pm](https://cloud.githubusercontent.com/assets/6768600/9570329/3e7bc742-4f3d-11e5-94b1-4f542837873d.png)\r\n"}}