{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/editing/issues/50","labels_url":"https://api.github.com/repos/w3c/editing/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/w3c/editing/issues/50/comments","events_url":"https://api.github.com/repos/w3c/editing/issues/50/events","html_url":"https://github.com/w3c/editing/issues/50","id":80607785,"number":50,"title":"spell checking should be able to span multiple Typing Nodes","user":{"login":"teleclimber","id":5631748,"avatar_url":"https://avatars.githubusercontent.com/u/5631748?v=3","gravatar_id":"","url":"https://api.github.com/users/teleclimber","html_url":"https://github.com/teleclimber","followers_url":"https://api.github.com/users/teleclimber/followers","following_url":"https://api.github.com/users/teleclimber/following{/other_user}","gists_url":"https://api.github.com/users/teleclimber/gists{/gist_id}","starred_url":"https://api.github.com/users/teleclimber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teleclimber/subscriptions","organizations_url":"https://api.github.com/users/teleclimber/orgs","repos_url":"https://api.github.com/users/teleclimber/repos","events_url":"https://api.github.com/users/teleclimber/events{/privacy}","received_events_url":"https://api.github.com/users/teleclimber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/editing/labels/ContentEditableTyping","name":"ContentEditableTyping","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2015-05-25T17:30:30Z","updated_at":"2015-06-02T01:28:50Z","closed_at":null,"body":"In ContentEditbleTyping Explainer, Section 6.2:\r\n\r\n>When the user indicates he wants to replace part of the contents of a CE Typing Node by means of a browser-builtin spell cehcker or alike, a `beforeInput` input with `inputType` set to `replaceText` is triggered.\r\n\r\nNote that a spellchecker might find a typo in a word that is not fully contained in a single text node. Therefore the event target must not be a text node, but rather a Range. Safari in particular allows spell check to work even when words are partially bold. See #28.\r\n\r\nFurthermore it's not clear from the spec whether a default behavior takes place? In any case if the target is a range then there can be no default behavior since it would result in Element changes. So I think the Explainer should clarify that there is no default behavior, it's up to the editor dev to make the change."},"comment":{"url":"https://api.github.com/repos/w3c/editing/issues/comments/107766094","html_url":"https://github.com/w3c/editing/issues/50#issuecomment-107766094","issue_url":"https://api.github.com/repos/w3c/editing/issues/50","id":107766094,"user":{"login":"klimlee","id":2972150,"avatar_url":"https://avatars.githubusercontent.com/u/2972150?v=3","gravatar_id":"","url":"https://api.github.com/users/klimlee","html_url":"https://github.com/klimlee","followers_url":"https://api.github.com/users/klimlee/followers","following_url":"https://api.github.com/users/klimlee/following{/other_user}","gists_url":"https://api.github.com/users/klimlee/gists{/gist_id}","starred_url":"https://api.github.com/users/klimlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klimlee/subscriptions","organizations_url":"https://api.github.com/users/klimlee/orgs","repos_url":"https://api.github.com/users/klimlee/repos","events_url":"https://api.github.com/users/klimlee/events{/privacy}","received_events_url":"https://api.github.com/users/klimlee/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T01:28:50Z","updated_at":"2015-06-02T01:28:50Z","body":"I agree with @teleclimber that half-styled words may exist in the wild. But, apparently, browsers in general don’t agree. Without contentEditable, Safari, Chrome and Firefox all report ‘Mexico’ and ‘Maus’ to VoiceOver as separate words. With contentEditable, they are spellchecked as a single word. One of those behaviours is correct, but not both."}}