
Hi Marting,
I asked some folks about CKEditor and RTL support. One of them claims that
CKEditor from old versions till now supports RTL very good. BTW I have
invited them to this mailing list and hope see them here versy soon.
Afshar Mohebbi
On Sun, Jul 26, 2009 at 10:05 AM, Afshar Mohebbi
Hi Michiel,
I checked your link out. But unfortuantely It does not support any RTL language at all. It does not support changing direction from left-to-right to right-to-left. Should they eanble something to entering RTL text be enabled? A RTL language like Persian or Arabic is written from right to left. BTW that old trick, RIGHT-TO-LEFT EMBEDDING (U+202B) still works.
Please tell me if I could help more about RTL.
Afshar Mohebbi
On Sat, Jul 25, 2009 at 5:39 PM, Michiel Beijen
wrote: Afshar,
I know there is no setting ContentLangDirection in RichTextEditor by default, what I meant is that it IS a configuration setting and you could add it to RichTextEditor.dtl if you'd want to use it. Too bad that it does not alleviate your problem. Can you please verify for me - as my Arabic skills are not up to spec ;-) - if CKEditor v3, which is currently in the latest beta phase, does this better? Here's a web demo: http://ckeditor.com/ckeditor/3.0rc/_samples/skins.html
The idea is that the v3 release is better at RTL input, but I have no real way to check.
Note that the name has changed from FCKeditor to CKeditor in this release because FCK resembles a well-known four letter word... Regards, -- Michiel Beijen Software Consultant +31 6 - 457 42 418 Bee Free IT + http://beefreeit.nl
On Sat, Jul 25, 2009 at 10:11, Afshar Mohebbi
wrote:
Dear Michiel,
There was not a setting in "RichTextEditor.dtl". Instead of it I added following:
oFCKConfig.Config["ContentLangDirection"] = 'rtl' ;
It worked but not helped so much. I tried "ctrl+right shfit" in IE too, but does not help too. All 2 solution can force the editor to accept the text in a RTL manner, but when a note or ticket is saved and displayed in OTRS again, all thing have bee gone bad. OTRS itself shows comments and ticket descriptions in LTR regardless of if you have used one of those 2 solutions! So we have TWO problem, one with FCKEditor that does not accept RTL text easily and another with OTRS that shows texts in just LTR.
As a workaround I insert unicode character RIGHT-TO-LEFT EMBEDDING (U+202B) in the begging of each text. It is well-known character in Unicode Annex#9 (Bidrectional algoirthm) and force a text to be displayed as a RTL text.
This bug is registered in Bugzilla with following URL: http://bugs.otrs.org/show_bug.cgi?id=4038
Afshar Mohebbi
On Wed, Jul 22, 2009 at 3:23 PM, Michiel Beijen
wrote: Of course you could also decide to not use the rich text editor, you can disable it in SysConfig. Then you'd have the same editor functionality as in 2.3.4 while you'd be able to leverage all other 2.4.x features.
I found that in Internet Explorer, the buttons ctrl + right shift would switch text direction, but that switch will not be "remembered" by the system.
Also, digging further, I found this to be an issue that other projects that use the same editor (e.g. Drupal) are facing as well. This would be one of the things to be solved in the next release of the editor, 3.0, which is now in beta. You could decide to try and get the 3.0 beta working with your otrs setup and see what happens. I have not (yet) found any timeline for the fckeditor 3.0 release.
Regards,
-- Michiel Beijen Software Consultant +31 6 457 42 418 Bee Free IT + http://beefreeit.nl
On Jul 22, 2009 11:09 AM, "Michiel Beijen"
wrote: Hi Afshar,
Thanks for reporting this error.
There is a configuration flag for the editor that you could use to switch the direction. Add the following line to otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl at around line 25:
FCKConfig.ContentLangDirection = 'rtl' ;
This will however completely set the RTL direction for the whole of your OTRS instance. I understand that a more elegant solution would be needed but this might just be a workaround for you.
Can you please file a bug for this in the Bugzilla at http://bugs.otrs.org ?
Kindest regards, -- Michiel Beijen Software Consultant +31 6 - 457 42 418 Bee Free IT + http://beefreeit.nl
On Wed, Jul 22, 2009 at 10:19, Afshar Mohebbi < afshar.mohebbi@gmail.com> wrote:
> Hi all! > > I just installed OTRS 2.4.1 and realized that we have had a step BACKWARD! While ear...
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/