Re: [editing-explainer] How can sites access browser spellchecking? (#36)

There is no such a thing as the standard dictionary that comes with the browser at least in Safari.  We use the system dictionary which includes all user defined words.

I don't think we want Web apps to explicitly support spellchecking, etc...  This would prevent Web browsers from supporting different ways of correcting text.  For example, OS X provides grammar checking as well as spellchecking.  My point isn't that we need to add another API to support grammar checking but rather that the API should be flexible enough to support new modality of correction.

Furthermore, both spellchecking and IME require the contextual text inside which the corrected word/phrase appear.  So a better API to provide here would be some mechanism for Web apps to provide a serialized DOM Range to the Web browser so that Web browser could provide that in term to the IME/autocorrection mechanisms provided by the system.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing-explainer/issues/36#issuecomment-68074231

Received on Wednesday, 24 December 2014 21:05:53 UTC