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

Minimal RTL support #5

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

Conversation

yohanboniface
Copy link

This PR adapts the toolbar alignment behaviour when in RTL mode (for example for Arabic).

It can be set with a new rtl option (that defaults to false), plus it's automatic if dir='rtl' is set on the html node.

I've also renamed diffLeft and diffTop to offsetX and offsetY because I though that was more conventional naming for such values, but of course this change it not needed for the PR, so if you disagree with it I'll revert it. Also, given that minislate is not announced as stable we can tolerate such break of the API.

@yohanboniface
Copy link
Author

Piing :)

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.

1 participant