sereneinserenade/tiptap-languagetool

Rich editor (bold, italic and other inner nodes) spellcheck bug

Closed this issue · 5 comments

Hey mate! Thanks for the plugin. Currently, I'm refactoring it for my internal needs, I don't want any side effects to be handled inside the plugin. It seems like there is a bug in the algorithm:

if you mark a selection with bold (or any other), it will mark the next word as a misspelling. As in the case below, it thinks that the next word always should start with a capital letter. I think (and to be honest I didn't have any time to investigate yet), the problem is that you are trying to check not the entire block, but just part of it. Would really appreciate some help here:

Screenshot 2022-05-20 at 21 20 06

I think this might be an issue on the LanguageTool side and not our side. However, will look into it when I have some time. Thanks for reporting!

Hey @maxmert, again thanks for reporting! This was an issue in algorithm.

I've fixed the issue, will be updating the repo soon with fix ⚡

Hello, was this also solved in the js version of this plugin? I am having this issue.

Thanks in advance.

Ended up fixing it myself, had to change the ts code to js.