JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.1
[ckeditor.git] / _source / core / config.js
index caa8d53..f7a2ad7 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -40,7 +40,7 @@ CKEDITOR.config =
         * // Do not load any custom configuration file.\r
         * CKEDITOR.replace( 'myfiled', { customConfig : '' } );\r
         */\r
-       customConfig : CKEDITOR.getUrl( 'config.js' ),\r
+       customConfig : 'config.js',\r
 \r
        /**\r
         * Whether the replaced element (usually a textarea) is to be updated\r
@@ -63,13 +63,14 @@ CKEDITOR.config =
        baseHref : '',\r
 \r
        /**\r
-        * The CSS file to be used to apply style to the contents. It should\r
+        * The CSS file(s) to be used to apply style to the contents. It should\r
         * reflect the CSS used in the final pages where the contents are to be\r
         * used.\r
-        * @type String\r
+        * @type String|Array\r
         * @default '<CKEditor folder>/contents.css'\r
         * @example\r
         * config.contentsCss = '/css/mysitestyles.css';\r
+        * config.contentsCss = ['/css/mysitestyles.css', '/css/anotherfile.css'];\r
         */\r
        contentsCss : CKEDITOR.basePath + 'contents.css',\r
 \r
@@ -166,6 +167,20 @@ CKEDITOR.config =
        docType : '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',\r
 \r
        /**\r
+        * Sets the 'id' attribute to be used on body if it doesn't have one.\r
+        * @type String\r
+        * @default ''\r
+        */\r
+       bodyId : '',\r
+\r
+       /**\r
+        * Sets the 'class' attribute to be used on body if it doesn't have one.\r
+        * @type String\r
+        * @default ''\r
+        */\r
+       bodyClass : '',\r
+\r
+       /**\r
         * Indicates whether the contents to be edited are being inputted as a full\r
         * HTML page. A full page includes the &lt;html&gt;, &lt;head&gt; and\r
         * &lt;body&gt; tags. The final output will also reflect this setting,\r
@@ -178,13 +193,14 @@ CKEDITOR.config =
        fullPage : false,\r
 \r
        /**\r
-        * The editor height, in CSS size format or pixel integer.\r
+        * The height of editing area( content ), in relative or absolute, e.g. 30px, 5em.\r
+        * Note: Percentage unit is not supported yet. e.g. 30%.\r
         * @type Number|String\r
         * @default '200'\r
         * @example\r
         * config.height = 500;\r
-        * @example\r
         * config.height = '25em';\r
+        * config.height = '300px';\r
         */\r
        height : 200,\r
 \r
@@ -196,7 +212,7 @@ CKEDITOR.config =
         * @type String\r
         * @example\r
         */\r
-       plugins : 'about,basicstyles,blockquote,button,clipboard,colorbutton,contextmenu,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,sourcearea,stylescombo,table,tabletools,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc',\r
+       plugins : 'about,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',\r
 \r
        /**\r
         * List of additional plugins to be loaded. This is a tool setting which\r
@@ -281,7 +297,6 @@ CKEDITOR.config =
         * config.baseFloatZIndex = 2000\r
         */\r
        baseFloatZIndex : 10000\r
-\r
 };\r
 \r
 // PACKAGER_RENAME( CKEDITOR.config )\r