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

Experimental code editor does not support typing in RTL layout #8959

Open
ali-memar opened this issue Jan 6, 2025 · 0 comments
Open

Experimental code editor does not support typing in RTL layout #8959

ali-memar opened this issue Jan 6, 2025 · 0 comments

Comments

@ali-memar
Copy link

ali-memar commented Jan 6, 2025

Reproduction link

https://stackblitz.com/edit/hexla53p

Steps to reproduce

  1. Set the page layout to RTL (e.g., <html dir="rtl">).
  2. Navigate to the Code Editor experimental page.
  3. Try to type in the editor.
  4. Observe the issue where typing does not work.

What is expected?

The code editor should allow users to type text properly, regardless of whether the layout is LTR or RTL.

What is actually happening?

In RTL mode:

  • Typing in the editor does not work.
  • The cursor may behave unexpectedly or not appear in the correct position.
Environment Info
ng-zorro-antd 19.0.1
Browser Chrome - Version 131.0.6778.205

The issue seems related to how the code editor integrates with RTL layouts. This might involve adjustments to the underlying editor configuration or CSS styles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants