Re: [w3c/editing] spellchecking - how to give JS devs more control (#166)

@ianstormtaylor "I'd think that spellcheck should only operate on the text node level, and not mess with the hierarchy." We discussed this earlier, and it turns out it's problematic for some browsers as they want to look at partially styled words as one word. So for example "**fi**ssh" (`<strong>fi</strong>ssh`). Their spellchecker will then either make "**fish**" or "fish" out of that. It's worse with elements that have some kind of meaning for the editor that the browser doesn't understand ( for example: `fi<span class="selection-of-collaborator-14">ssh</span>`). 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/166#issuecomment-426912682

Received on Thursday, 4 October 2018 07:25:04 UTC