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 automatic RTL Support #85

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

pbogre
Copy link
Contributor

@pbogre pbogre commented Jul 2, 2023

I used customHTMLRenderer to add the attribute dir=auto to the document class of the editor, which means that it will detect if any text contains RTL characters and display them properly.

The effect of this change can be tested by non-RTL-readers by pasting arabic characters and noticing the change in behaviour when trying to type on them.

Should close #43

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

Successfully merging this pull request may close these issues.

Auto RTL support
1 participant