Hi,
I'm looking for a way to have Right to Left AND Left to Right CKEditor on the same page. (setting config.contentsLangDirection = 'rtl'; in the config.js file make all the editors RTL).
Or how to implement RTL/LTR buttons on the floating panel.
In the past I found a good solution for FCKEditor at http://www.dnastudio.co.il/FCKEditor.RTL.Support.aspx
Steps for extending FckEditor for Right-To-Left support (Short english version):
1. Open file: Providers\HtmlEditorProviders\Fck\FCKeditor\editor\fckeditor.html
after row window.document.dir = FCKLang.Dir ;
add FCKConfig.ContentLangDirection = window.document.dir;
2. Download from http://www.dnastudio.co.il/FCKEditor.RTL.Support.aspx FCKEditor Flow Direction Plugin
copy TextFlow folder from downloaded ZIP-archive to FckEditor plugIn derictory: Providers\HtmlEditorProviders\Fck\FCKeditor\editor\plugins\TextFlow
3. Open file Providers\HtmlEditorProviders\Fck\Custom\fckconfig.js and add FCKConfig.Plugins.Add('TextFlow', 'en'); into plugIns section
go to FCKConfig.ToolbarSets["DNNDefault"] section and add two entries: LayoutFlowRTL and LayoutFlowLTR
***************************************************************
I'm not skilled enough in Javascript to adapt it to CKEditor.
Thanks for help.
Thu, 03/04/2010 - 16:53
#1