Skip to content

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

Open
@ali-memar

Description

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.

Activity

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

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions