X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Fconfig.js;h=f3938d8966e601e422504ccbbd2de18a140dac8c;hb=f8fc585c18d287eb325c575596d183122486b641;hp=c53892da769809ccc8be5aa99bf38bd10affdb02;hpb=e7789c1ad838194d45eeee6ac2eb6e55f5cf35a1;p=ckeditor.git
diff --git a/_source/core/config.js b/_source/core/config.js
index c53892d..f3938d8 100644
--- a/_source/core/config.js
+++ b/_source/core/config.js
@@ -76,14 +76,28 @@ CKEDITOR.config =
/**
* The writting direction of the language used to write the editor
- * contents. Allowed values are 'ltr' for Left-To-Right language (like
- * English), or 'rtl' for Right-To-Left languages (like Arabic).
- * @default 'ltr'
+ * contents. Allowed values are:
+ *
+ * - 'ui' - which indicate content direction will be the same with the user interface language direction;
+ * - 'ltr' - for Left-To-Right language (like English);
+ * - 'rtl' - for Right-To-Left languages (like Arabic).
+ *
+ * @default 'ui'
* @type String
* @example
* config.contentsLangDirection = 'rtl';
*/
- contentsLangDirection : 'ltr',
+ contentsLangDirection : 'ui',
+
+ /**
+ * Language code of the writting language which is used to author the editor
+ * contents.
+ * @default Same value with editor's UI language.
+ * @type String
+ * @example
+ * config.contentsLanguage = 'fr';
+ */
+ contentsLanguage : '',
/**
* The user interface language localization to use. If empty, the editor
@@ -229,7 +243,7 @@ CKEDITOR.config =
* @type String
* @example
*/
- plugins : 'about,a11yhelp,basicstyles,blockquote,button,clipboard,colorbutton,colordialog,contextmenu,div,elementspath,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,htmldataprocessor,image,indent,justify,keystrokes,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,scayt,smiley,showblocks,showborders,sourcearea,stylescombo,table,tabletools,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc',
+ plugins : 'about,a11yhelp,basicstyles,blockquote,button,clipboard,colorbutton,colordialog,contextmenu,div,elementspath,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,htmldataprocessor,image,indent,justify,keystrokes,link,list,liststyle,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,scayt,smiley,showblocks,showborders,sourcearea,stylescombo,table,tabletools,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc',
/**
* List of additional plugins to be loaded. This is a tool setting which