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

Add Right-to-Left (RTL) support #4569

Open
rakeshkumar1019 opened this issue Jan 16, 2025 · 1 comment
Open

Add Right-to-Left (RTL) support #4569

rakeshkumar1019 opened this issue Jan 16, 2025 · 1 comment

Comments

@rakeshkumar1019
Copy link

Issue Description

Request: Add Right-to-Left (RTL) support for text direction in Quill editor.

Details: As a user who works with languages that are written from right to left, such as Arabic or Hebrew, I would like to see RTL text direction support integrated into Quill. This feature would greatly enhance usability and accessibility for users who rely on RTL languages, ensuring a seamless writing experience.

Expected Behavior:

  • Text alignment and direction should automatically switch to RTL when typing in RTL languages.
  • UI controls (e.g., toolbar icons) should adjust their layout and orientation for RTL support.

Additional Context:

  • Quill currently lacks native RTL support, which poses usability challenges for users writing in RTL languages.
  • Other text editing tools and libraries already offer RTL support, making it an essential feature for global usability.

Impact: Enhancing Quill with RTL support would broaden its accessibility and appeal to a wider audience of users who prefer or require RTL text direction. This update aligns with the goal of making Quill more inclusive and user-friendly across diverse linguistic contexts.

@Juicetan
Copy link

Isn't it supported already?

var DirectionStyle = Quill.import('attributors/style/direction');
DirectionStyle.whitelist = ['ltr','rtl'];
Quill.register(DirectionStyle, true);

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

No branches or pull requests

2 participants