-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser-Addon LanguageTool: one-click-correction stopped working with 35.3.0 #12824
Comments
It looks like this browser extension is using |
Could you also open issue to LanguageTool itself? Even if we can workaround this issue today, let's help them fix this so we have a cleaner situation in the future. |
Sure, they also have a github repo for that. Can you provide me with some description/hint for the issue, to give them a better understanding where to start? |
I'm one of the developers behind LanguageTool. First, thanks for being helpful and constructive. @niegowski it seems there's no way for us to set “target ranges” when simulating the |
It seems that simply setting |
Wow, that was fast :) Thanks @tiff! Do you think we could help testing it with CKE5? Is it possible to check it out before your release? :) |
Hey @Reinmar unfortunately, we do not publish release candidates, but I will notify you once the update is available and promise that we will investigate further problems and regressions ✌️ |
@Reinmar an update for our Chrome extension (incl. this fix) has been released. Please make sure you have the latest version (6.0.0) installed. Firefox, Edge, and Safari will follow in the next days. |
@tiff works for me in Chrome. Thanks for the quick fix! |
Confirmed by our team as well. Thank you! |
We are experiencing the same issue after having upgraded CKEditor with LanguageTool. The LT support has already been contacted to provide us with an update. However, we would very much appreciate if there is the possibility for a quick hotfix in the meantime. Is "enabling fallback" a configuration option? |
@jensgerdes-dpa to which version have you upgraded? I have not noticed issues with LT enabled in our docs. |
@Witoso from 32.0.0 to the current one (37.1.0) |
@jensgerdes-dpa are you using our (LanguageTool's) browser add-on or our JavaScript library? |
And what problems do you observe? Screen.Recording.2023-04-27.at.12.39.30.mov |
@Witoso When applying suggestions from LanguageTool like below we get the following Error in the JS console. @tiff We are using your JS Library in combination with the self-hosted premium version of LanguageTool. For that purpose we received a JS file some years ago. This one - like with the browser add-on - does not provide a targetRange which causes the CKEditor to crash. While waiting for the LT support to send me an update I wondered if the change @niegowski mentioned could be a first hotfix: enabling fallback to the DOM document selection |
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
"earth" should change to "earth,"
❌ Actual result
Text is not changed. JS error is thrown, see Console (Chrome: "Uncaught TypeError: Cannot read properties of null (reading 'root') ...", Firefox: "Uncaught CKEditorError: i is null ...").
📃 Other details
We had to downgrade to CKEditor5 35.2.1, because a lot of our clients are using the LanguageTool. Until this is fixed, we can't upgrade to any future version of CKEditor5 :(
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: