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

RTL for SCEditor #55

Closed
Atramez-Zeton opened this issue Dec 13, 2012 · 2 comments
Closed

RTL for SCEditor #55

Atramez-Zeton opened this issue Dec 13, 2012 · 2 comments
Assignees
Milestone

Comments

@Atramez-Zeton
Copy link

Greetings,

here are some modifications I made so SCEditor would work on RTL sites, still I have one problem which working on that text area resizing should be at the left-down corner.

from file: jquery.sceditor.default.min.css

html,body, p, code:before,table
{
direction:rtl;
margin:0;
padding:0;
font-family:Tahoma, Verdana,Arial,Helvetica,sans-serif;
font-size:13px;
color:#111
}

from file: default.min.css

.sceditor-container,.sceditor-container div,div.sceditor-dropdown,div.sceditor-dropdown div{direction: rtl; padding:0;margin:0;z-index:3}

.sceditor-container iframe,.sceditor-container textarea
{
border:0;
outline:0;
font-family:Tahoma, Verdana,Arial,Helvetica,sans-serif;
font-size:13px;
color:#111;
padding:0;
margin:5px;
resize:none;
background:#fff
}

also flip the famfamfam.png grip's icon horizontally

famfamfam

a live site

http://onyx-sy.net/SCEditor/example/

@samclarke
Copy link
Owner

Thanks for sharing this!

I'm in the process of updating the themes for button state support and I was planning to add RTL versions of the themes at the same time so this saves me some time. I'll work these changes into them.

@ghost ghost assigned samclarke Dec 13, 2012
@Atramez-Zeton
Copy link
Author

Just a point of view, when using "Arabic" language its always better to have font-family: Tahoma, its readable arabic font for almost all sites, Verdana is close to Tahoma but fixing Tahoma is better.

Tmeister pushed a commit to Tmeister/SCEditor that referenced this issue Aug 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants