CodeMirror is a JavaScript library that powers many online code editors, for example Typst (which I work for) but also Overleaf, repl.it, CodePen, and more. With a new update of CodeMirror, it now uses Chrome’s experimental EditContext API to drive its editor in Chrome. Since then, the LanguageTool extension has stopped working: When clicking on a suggestion, nothing happens.
I have filed this bug on the CodeMirror issue tracker, however, the author is of the opinion that this is a LanguageTool issue. The issue is reproducible on this URL:
Thanks for the detailed report. I cannot reproduce, though. Could you please confirm which version of the LT add-on you’re using? Also, do you use any other add-ons that might interfere (i.e. does it start working once you temporarily turn off other browser add-ons)?
I have disabled all other extensions in the browser. I also have another independent reproduction from a Typst user in my inbox. They are likely using Windows or Linux, since they mentioned reproducing it in Chrome but not in Firefox but did not consider Safari. I can reach out to them for more details about their environment if needed.
You can also check out this reproduction URL if the original one does not work for some reason: Typst
I can reproduce the following issue now in Chrome with both links: the underlines appear, you can click on them and the error box appears, but if you click on the suggestion, the original text does not get fixed. Everything works as expected in Firefox. I’ll let the developers know.