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

- Added all requested RTL features. #28

Merged
merged 4 commits into from Jan 18, 2017
Merged

Conversation

AndreYonadam
Copy link
Contributor

  • Can now specify the initial text direction.
  • Dynamically handles changes in text direction when the textarea's direction is changed by the browser. Changes are reflected by the placeholder element as well.

Andre Yonadam added 4 commits January 17, 2017 19:47
- Added initial RTL setting
- Switched from text-align to dir attribute because its safer to use
since the user can change the dir property easily through the browser
by right clicking and changing the direction of the paragraph text.
…e browser.

- Now also updates if the user changes the texture's direction via the
browser.
@kazzkiq
Copy link
Owner

kazzkiq commented Jan 18, 2017

It seems there are some bugs when trying to write code on RTL-enabled editor. Here is a sample:

bug

No idea if this is a browser bug or just some missing CSS/JS property for dealing with RTL texts.

@AndreYonadam
Copy link
Contributor Author

AndreYonadam commented Jan 18, 2017

Just as a heads up. I don't think this is an issue with the CodeFlask editor. I tested the actual comment section here and it has the same effect when in the right-to-left mode. Maybe we must test an RTL language? I'm not sure.
jan-17-2017 21-51-23

@kazzkiq
Copy link
Owner

kazzkiq commented Jan 18, 2017

It seems @MajidCS tested it with a RTL language and everything worked as expected (see #26), so I'm merging the PR.

As always, thanks for the incredible work @AndreYonadam! 🎉

@kazzkiq kazzkiq merged commit bdc617d into kazzkiq:master Jan 18, 2017
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.

None yet

2 participants