Print Page | Close Window

Textarea direction

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=16600
Printed Date: 28 March 2026 at 9:03am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Textarea direction
Posted By: Oded O
Subject: Textarea direction
Date Posted: 18 September 2005 at 2:40am
Hello,

How can I change the textarea dir to rtl (writing in hebrew)

I've tried adding dir=rtl to:

<textarea name="textarea" cols="80" rows="15" id="myTextarea">

but it's not working.
I guess I need to find the Iframe of the RTE window, but I got lost in all these lines of code...

Thanks!



Replies:
Posted By: WebWiz-Bruce
Date Posted: 20 September 2005 at 6:13am
Try changing line 125 of the file RTE_javascript.asp from:-

iframeContent += '<body leftmargin="1" topmargin="1" marginwidth="1" marginheight="1" class="RTEtextarea">\n';

To:-

iframeContent += '<body leftmargin="1" topmargin="1" marginwidth="1" marginheight="1" class="RTEtextarea" dir="rtl">\n';

I've not had chance to test this but it should work.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: megetron
Date Posted: 20 September 2005 at 6:34pm
no such file : RTE_javascript.asp


Posted By: WebWiz-Bruce
Date Posted: 21 September 2005 at 4:17am
There is, make sure you are running the latest version of Web Wiz Rich Text Editor version 3.0

Or are you referring to Web Wiz Forums? (if so you have posted in the wrong forum and the page will be RTE_textbox.asp)


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: megetron
Date Posted: 21 September 2005 at 4:04pm
you are right. I have a hebre system with the forum.
for some reason I cant fins the line you have mention but I see I changed the code for this:
<body dir=ltr  bgcolor="<% = strIETextBoxColour %>" class="text" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"<% If RTEenabled = "Gecko" Then Response.Write(" onLoad=""setTimeout('enableDesignMode()', 20);""") %>>
 
I dont why, but maybe this is the reason that sometimes the words are written in the opposite direction
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net