ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.61k stars 3.7k forks source link

Chrome’s translate feature breaks the tooltips #14887

Open dtdesign opened 1 year ago

dtdesign commented 1 year ago

📝 Provide detailed reproduction steps (if any)

  1. Using Chrome, navigate to https://ckeditor.com/ckeditor-5/demo/feature-rich/
  2. Translate the page into any language that is not English.
  3. Hover over the toolbar items to show the tooltips.

https://github.com/ckeditor/ckeditor5/assets/208610/4aba8d23-3e8e-418f-94f0-010d82544bf5

✔️ Expected result

The tooltips are translated on the fly.

❌ Actual result

The visuals of the tooltips are completely broken. If you are able to make them visible through the developer tools you will notice that the displayed text is always the same, regardless of the item being hovered.

Apart from the visual artifacts it is strange that the text remains unchanged. We’re using tooltips ourselves (modifying .textContent) and those do not suffer from this issue, although the original text is visible for a fraction of a second before it is being translated.

📃 Other details


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

CKEditorBot commented 1 month ago

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.