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

Just wanted to second @Reinmar's issue with spellcheck replacing `<strong>word</strong>` with `<b>word</b>`. We saw the same thing while working on [Slate](https://github.com/ianstormtaylor/slate), not sure if it's been fixed so far. More generally, spellcheck will also completely remove some surrounding `<span>` tags last I checked (even if they have their own attributes) which is also very frustrating to have to work around. I'd think that spellcheck should only operate on the text node level, and not mess with the hierarchy.

The other big issue we have with spellcheck is that the little red squiggles re-render with a visible flashing if we update the DOM via React while typing. And the flashing is visible to the end user which is not a great experience.

-- 
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-426907655

Received on Thursday, 4 October 2018 07:03:40 UTC