Hi,
First of all, I'd like to say that FCKeditor is the finest online editor I've had the pleasure of working with - excellent work. The thing is, as far as I see there's no support for RTL-LTR toggle in FCKeditor.
I run a nuke-based Hebrew site (http://www.hevra.org.il) and would like very much to work FCKeditor, but as Hebrew ir written right-to-left, editing Hebrew text with FCKeditor is a pain in the neck (so is the case in arrabic and a few other RTL languages).
In case this is can be easily accomplished in FCKeditor, a default configuration setting (RTL or LTR as default) would also come in very handy.
I'd be happy to translate FCKeditor to Hebrew if you're interested, and would like to hear your opinion on my feature request.
Thanks,
Ophir
Tue, 01/06/2004 - 07:11
#1
RE: RTL-LTR support
But I'm still in progress..
Here is whta you have to do:
-------------------------------------------------------------------------------------------------
1 - added in lang/* to differentiate rtl from ltr languages.
lang["ltr"] = "rtl" ;
in Arabic language file lang/ar.js and it will be needed for Hebrew too.
lang["ltr"] = "ltr" ;
in all other language files lang/ro.js lang/en.js ...
-------------------------------------------------------------------------------------------------
2 - added in dialog/*.html
document.body.dir = dialogArguments.lang["ltr"];
after:
function setDefaults()
{
to be:
function setDefaults()
{
document.body.dir = dialogArguments.lang["ltr"];
-------------------------------------------------------------------------------------------------
3 - Changed some Arabic translation to make it shorter so it can fit ;P
-------------------------------------------------------------------------------------------------
4 - Changed URL input field ONLY direction to be left to right. (dialog/fck_link.html)
was:
<input style="WIDTH: 100%" type="text" id="txtURL">
to be:
<input style="WIDTH: 100%" type="text" id="txtURL" dir="ltr">
-------------------------------------------------------------------------------------------------
and still working on the rest.
RE: RTL-LTR support
Please let us know as you make more progress.