Skip to content

Minimal RTL support#5

Open
yohanboniface wants to merge 1 commit into
olivier-m:masterfrom
ideascube:rtl
Open

Minimal RTL support#5
yohanboniface wants to merge 1 commit into
olivier-m:masterfrom
ideascube:rtl

Conversation

@yohanboniface
Copy link
Copy Markdown

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
Copy Markdown
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