htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: WYSIWYG Forums: WYSIWYG Editor Discussion:
Change direction


 


arash
New User

Aug 1, 2005, 8:49 AM

Post #1 of 3 (46606 views)
Shortcut
Change direction Can't Post

Thanks for your best editor.

I'm using your last version of HTML Area and I want to change the direction of it from left to right to right to left.

thank you again.


Theo
Project Manager / Moderator


Sep 12, 2005, 12:15 PM

Post #2 of 3 (46439 views)
Shortcut
Re: [arash] Change direction [In reply to] Can't Post

You could try:
http://www.htmlarea.com/cgi-bin/forum/gforum.cgi?post=32227#32227


Theo Wiersma
Project Manager

interactivetools.com, inc.
Tel: (604)689-3347 - Fax: (604)689-3342 - Toll Free: 1(800)752-0455
Software for your Website - http://www.interactivetools.com/


dirarko
Novice

Nov 14, 2005, 1:46 AM

Post #3 of 3 (46175 views)
Shortcut
Re: [arash] Change direction [In reply to] Can't Post

I did this by adding to the HTMLArea.prototype.generate inside the initIframe function:

var
doc = editor._iframe.contentWindow.document;
...
// set default direction
doc.body.style.direction = "rtl";

Hope this helps



 
 
 


Search for (options)