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

An example of how complex it can get with a grammar checker: Citations in FW can basically be either shown as "(Einstein, 1932: p.34)" or "Einstein (1932: p.34)". The second case is used if it is used as subject/object of a sentence, such as "Even Einstein (1932: p. 34) thought this was a huge problem." But the "Einstein" needs to be part of the "citation" object, because depending on the citation style, it may be rendered as "Einstein", "A. Einstein", "Albert E.", etc. . So now the grammar checker sees this, and knowing nothing about the JS editor and how it renders things, It just sees "Even [CITATION] thought this was a huge problem." and it will complain about a missing subject in that sentence.

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

Received on Thursday, 4 October 2018 10:49:11 UTC