ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

LanguageTool replacing word at wrong position in ClassicEditor

Open Sudo-kun opened this issue 7 months ago • 4 comments

📝 Provide detailed reproduction steps (if any)

  1. Add LanguageTool to (Chrome Browser)
  2. Create new Line with shift + enter
  3. Write a sentence with an error in the middle
  4. Tell LanguageTool to fix the typo

Exists in the Demo Page as well: https://ckeditor.com/docs/ckeditor5/latest/examples/builds/classic-editor.html

✔️ Expected result.

The word is replaced with the correction

❌ Actual result

The word is put in the beginning of the line.

📃 Other details

  • Browser: Chrome
  • OS: macOS 15.5
  • First affected CKEditor version: 5
  • Installed CKEditor plugins: …

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

Sudo-kun avatar Jun 03 '25 12:06 Sudo-kun

I'm actually a LanguageTool user myself too and it works fine for me. It worked in the scenario that you described.

Could you maybe record a screencast? In case of typing-relate issues, all details matter.

Reinmar avatar Jun 04 '25 06:06 Reinmar

Here is a Video of me reproducing it. I hope this helps.

It's important to use shift + enter.

https://github.com/user-attachments/assets/adfab392-673e-4326-a4e7-07f90a47ac02

Sudo-kun avatar Jun 04 '25 09:06 Sudo-kun

Ok, I got it here. Thanks for the recording.

Reinmar avatar Jun 12 '25 07:06 Reinmar

I investigated the issue across previous versions and identified that it started occurring with version 41.4.0.

kubaklatt avatar Jun 12 '25 14:06 kubaklatt