Skip to content
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

Incorrect backspace behaviour for Arabic Text #17739

Open
kubaklatt opened this issue Jan 10, 2025 · 6 comments
Open

Incorrect backspace behaviour for Arabic Text #17739

kubaklatt opened this issue Jan 10, 2025 · 6 comments
Labels
domain:rtl This issue reports a problem with support for right-to-left languages. type:bug This issue reports a buggy (incorrect) behavior.

Comments

@kubaklatt
Copy link

kubaklatt commented Jan 10, 2025

๐Ÿ“ Provide detailed reproduction steps (if any)

  1. Open for example RTL demo and type ุฃู‡ู„ุงู‹ ูˆุณู‡ู„ุงู‹
  2. Press backspace

โœ”๏ธ Expected result

After using backspace we should get ุฃู‡ู„ุงู‹ ูˆุณู‡ู„ุง

โŒ Actual result

After using backspace we get ุฃู‡ู„ุงู‹ ูˆุณู‡ู„

๐Ÿ“ƒ Other details

I checked how it looks in a contenteditable div and it works properly there.

  • Browser: Chrome (Version 131.0.6778.265)
  • OS: macOS Sequoia 15.2
  • First affected CKEditor version: โ€ฆ
  • Installed CKEditor plugins: โ€ฆ

If you'd like to see this fixed sooner, add a ๐Ÿ‘ reaction to this post.

@kubaklatt kubaklatt added domain:rtl This issue reports a problem with support for right-to-left languages. type:bug This issue reports a buggy (incorrect) behavior. labels Jan 10, 2025
@Witoso
Copy link
Member

Witoso commented Jan 10, 2025

@kubaklatt please share what browser, device, what keyboard (if Android mobile), etc. We need this information because Arabic is composed.

@kubaklatt
Copy link
Author

@Witoso the problem is only reproducible on Chrome. I checked also on Safari, Firefox, and Safari on iOS and it works correctly there.

@HalanaSMD
Copy link

HalanaSMD commented Jan 13, 2025

Currently I am working on a project, and the project owner wants to use Ckeditor on Chrome precisely.
I tried switching to Firefox and it worked fine. But this issue needs to be solved on other browsers especially Chrome. I hope this issue get fixed as soon as possible.

@Witoso
Copy link
Member

Witoso commented Jan 13, 2025

@HalanaSMD could we get the typing characters sequence (one by one) on the QWERTY-like keyboard?

@niegowski I remember there was some difference how we delete such characters vs CKEditor 4, but I may be confusing something here.

@HalanaSMD
Copy link

@Witoso ckeditor handles this already.
Ckeditor has two options for deleting letter, One is by Character and the other by CodePoint (for characters containing combining marks based on Unciode).
But I think the problem that makes the backspace button to not function properly on some browsers could be the TargetRange.

@Witoso
Copy link
Member

Witoso commented Jan 13, 2025

Thanks, could you provide a typing sequence (any) we can use for tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:rtl This issue reports a problem with support for right-to-left languages. type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

3 participants