User Tools

Site Tools


ru:how_to:editor_configuration_more_options

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
ru:how_to:editor_configuration_more_options [2013/10/18 07:38]
Arkady [Entities and Special Characters]
ru:how_to:editor_configuration_more_options [2013/10/18 07:40]
Arkady [Language Direction]
Line 139: Line 139:
   ");   ");
 </​code>​ </​code>​
-===== Language Direction ​=====+===== Направление чтения или письма ​===== 
 +Во многих языках чтение и письмо осуществляются слева направо. Примером могут служить немецкий,​ английский,​ русский языки.\\ 
 +В некоторых других языках,​ например,​ в арабском,​ фарси, иврите чтение выполняется справа налево.\\  
 +Существуют языки с направлением чтения и письма сверху вниз и снизу вверх.\\ 
 +По умолчанию редактор применяет настройку пользовательского интерфейса (например,​ настройку браузера). 
 +Поведение редактора можно поменять,​ явным образом указав направление чтения и письма в параметре //​contentsLangDirection//​
  
-In many languages the //​reading-//​ or //​write-direction//​ is from left to right. In German, English, French or whatever. \\ In other languages the reading-direction goes from right to left: in Arabic, Farsi, Hebrew and many others.\\ Other languages go from Top to Down or from Down to Top.  
- 
-The editor follows per default the settings of the //user interface language direction// (f.e. your browser-settings).\\ If this does not work correctly or you want to force the direction, set the option //​contentsLangDirection//​ 
 {{:​how_to:​ckeditor-rtl.jpg|}} {{:​how_to:​ckeditor-rtl.jpg|}}
 +<​code>​
   # WYSIWYG Editor Options   # WYSIWYG Editor Options
   define('​GSEDITOROPTIONS',"​skin : '​v2', ​   define('​GSEDITOROPTIONS',"​skin : '​v2', ​
Line 157: Line 160:
   contentsLangDirection : '​rtl'​   contentsLangDirection : '​rtl'​
   ");   ");
-  ​ +</​code>​ 
-The editor allows 3 options:  + 
-  - ''​ui''​ = as defined by the user interaction interface ​(default+Опция contentsLangDirection принимает три значения
-  - ''​ltr''​ = left to right  ​ +  - ''​ui''​ = применяется настройка интерфейса пользователя ​(по умолчанию
-  - ''​rtl''​ = right to left+  - ''​ltr''​ = слева направо ​ 
 +  - ''​rtl''​ = справа налево 
 + 
 +Пока направление сверху вниз и снизу вверх не реализовано. ;=) 
  
-There is not top-down until now ;=) 
 ===== Email Protection ===== ===== Email Protection =====
  
ru/how_to/editor_configuration_more_options.txt · Last modified: 2013/10/18 07:54 by Arkady