+/*\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
+For licensing, see LICENSE.html or http://ckeditor.com/license\r
+*/\r
+\r
+/**\r
+ * @fileOverview Defines the {@link CKEDITOR.config} object, which holds the\r
+ * default configuration settings.\r
+ */\r
+\r
+/**\r
+ * Used in conjuction with {@link CKEDITOR.config.enterMode} and\r
+ * {@link CKEDITOR.config.shiftEnterMode} to make the editor produce <p>\r
+ * tags when using the ENTER key.\r
+ * @constant\r
+ */\r
+CKEDITOR.ENTER_P = 1;\r
+\r
+/**\r
+ * Used in conjuction with {@link CKEDITOR.config.enterMode} and\r
+ * {@link CKEDITOR.config.shiftEnterMode} to make the editor produce <br>\r
+ * tags when using the ENTER key.\r
+ * @constant\r
+ */\r
+CKEDITOR.ENTER_BR = 2;\r
+\r
+/**\r
+ * Used in conjuction with {@link CKEDITOR.config.enterMode} and\r
+ * {@link CKEDITOR.config.shiftEnterMode} to make the editor produce <div>\r
+ * tags when using the ENTER key.\r
+ * @constant\r
+ */\r
+CKEDITOR.ENTER_DIV = 3;\r
+\r
+/**\r
+ * @namespace Holds the default configuration settings. Changes to this object are\r
+ * reflected in all editor instances, if not specificaly specified for those\r
+ * instances.\r
+ */\r
+CKEDITOR.config =\r
+{\r
+ /**\r
+ * The URL path for the custom configuration file to be loaded. If not\r
+ * overloaded with inline configurations, it defaults to the "config.js"\r
+ * file present in the root of the CKEditor installation directory.<br /><br />\r
+ *\r
+ * CKEditor will recursively load custom configuration files defined inside\r
+ * other custom configuration files.\r
+ * @type String\r
+ * @default '<CKEditor folder>/config.js'\r
+ * @example\r
+ * // Load a specific configuration file.\r
+ * CKEDITOR.replace( 'myfiled', { customConfig : '/myconfig.js' } );\r
+ * @example\r
+ * // Do not load any custom configuration file.\r
+ * CKEDITOR.replace( 'myfiled', { customConfig : '' } );\r
+ */\r
+ customConfig : 'config.js',\r
+\r
+ /**\r
+ * Whether the replaced element (usually a textarea) is to be updated\r
+ * automatically when posting the form containing the editor.\r
+ * @type Boolean\r
+ * @default true\r
+ * @example\r
+ * config.autoUpdateElement = true;\r
+ */\r
+ autoUpdateElement : true,\r
+\r
+ /**\r
+ * The base href URL used to resolve relative and absolute URLs in the\r
+ * editor content.\r
+ * @type String\r
+ * @default '' (empty)\r
+ * @example\r
+ * config.baseHref = 'http://www.example.com/path/';\r
+ */\r
+ baseHref : '',\r
+\r
+ /**\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|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
+ /**\r
+ * The writting direction of the language used to write the editor\r
+ * contents. Allowed values are:\r
+ * <ul>\r
+ * <li>'ui' - which indicate content direction will be the same with the user interface language direction;</li>\r
+ * <li>'ltr' - for Left-To-Right language (like English);</li>\r
+ * <li>'rtl' - for Right-To-Left languages (like Arabic).</li>\r
+ * </ul>\r
+ * @default 'ui'\r
+ * @type String\r
+ * @example\r
+ * config.contentsLangDirection = 'rtl';\r
+ */\r
+ contentsLangDirection : 'ui',\r
+\r
+ /**\r
+ * Language code of the writting language which is used to author the editor\r
+ * contents.\r
+ * @default Same value with editor's UI language.\r
+ * @type String\r
+ * @example\r
+ * config.contentsLanguage = 'fr';\r
+ */\r
+ contentsLanguage : '',\r
+\r
+ /**\r
+ * The user interface language localization to use. If empty, the editor\r
+ * automatically localize the editor to the user language, if supported,\r
+ * otherwise the {@link CKEDITOR.config.defaultLanguage} language is used.\r
+ * @default '' (empty)\r
+ * @type String\r
+ * @example\r
+ * // Load the German interface.\r
+ * config.language = 'de';\r
+ */\r
+ language : '',\r
+\r
+ /**\r
+ * The language to be used if {@link CKEDITOR.config.language} is left empty and it's not\r
+ * possible to localize the editor to the user language.\r
+ * @default 'en'\r
+ * @type String\r
+ * @example\r
+ * config.defaultLanguage = 'it';\r
+ */\r
+ defaultLanguage : 'en',\r
+\r
+ /**\r
+ * Sets the behavior for the ENTER key. It also dictates other behaviour\r
+ * rules in the editor, like whether the <br> element is to be used\r
+ * as a paragraph separator when indenting text.\r
+ * The allowed values are the following constants, and their relative\r
+ * behavior:\r
+ * <ul>\r
+ * <li>{@link CKEDITOR.ENTER_P} (1): new <p> paragraphs are created;</li>\r
+ * <li>{@link CKEDITOR.ENTER_BR} (2): lines are broken with <br> elements;</li>\r
+ * <li>{@link CKEDITOR.ENTER_DIV} (3): new <div> blocks are created.</li>\r
+ * </ul>\r
+ * <strong>Note</strong>: It's recommended to use the\r
+ * {@link CKEDITOR.ENTER_P} value because of its semantic value and\r
+ * correctness. The editor is optimized for this value.\r
+ * @type Number\r
+ * @default {@link CKEDITOR.ENTER_P}\r
+ * @example\r
+ * // Not recommended.\r
+ * config.enterMode = CKEDITOR.ENTER_BR;\r
+ */\r
+ enterMode : CKEDITOR.ENTER_P,\r
+\r
+ /**\r
+ * Force the respect of {@link CKEDITOR.config.enterMode} as line break regardless of the context,\r
+ * E.g. If {@link CKEDITOR.config.enterMode} is set to {@link CKEDITOR.ENTER_P},\r
+ * press enter key inside a 'div' will create a new paragraph with 'p' instead of 'div'.\r
+ * @since 3.2.1\r
+ * @default false\r
+ * @example\r
+ * // Not recommended.\r
+ * config.forceEnterMode = true;\r
+ */\r
+ forceEnterMode : false,\r
+\r
+ /**\r
+ * Just like the {@link CKEDITOR.config.enterMode} setting, it defines the behavior for the SHIFT+ENTER key.\r
+ * The allowed values are the following constants, and their relative\r
+ * behavior:\r
+ * <ul>\r
+ * <li>{@link CKEDITOR.ENTER_P} (1): new <p> paragraphs are created;</li>\r
+ * <li>{@link CKEDITOR.ENTER_BR} (2): lines are broken with <br> elements;</li>\r
+ * <li>{@link CKEDITOR.ENTER_DIV} (3): new <div> blocks are created.</li>\r
+ * </ul>\r
+ * @type Number\r
+ * @default {@link CKEDITOR.ENTER_BR}\r
+ * @example\r
+ * config.shiftEnterMode = CKEDITOR.ENTER_P;\r
+ */\r
+ shiftEnterMode : CKEDITOR.ENTER_BR,\r
+\r
+ /**\r
+ * A comma separated list of plugins that are not related to editor\r
+ * instances. Reserved to plugins that extend the core code only.<br /><br />\r
+ *\r
+ * There are no ways to override this setting, except by editing the source\r
+ * code of CKEditor (_source/core/config.js).\r
+ * @type String\r
+ * @example\r
+ */\r
+ corePlugins : '',\r
+\r
+ /**\r
+ * Sets the doctype to be used when loading the editor content as HTML.\r
+ * @type String\r
+ * @default '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'\r
+ * @example\r
+ * // Set the doctype to the HTML 4 (quirks) mode.\r
+ * config.docType = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';\r
+ */\r
+ 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 the body element of the editing\r
+ * area. This can be useful when reusing the original CSS file you're using\r
+ * on your live website and you want to assing to the editor the same id\r
+ * you're using for the region that'll hold the contents. In this way,\r
+ * id specific CSS rules will be enabled.\r
+ * @since 3.1\r
+ * @type String\r
+ * @default '' (empty)\r
+ * @example\r
+ * config.bodyId = 'contents_id';\r
+ */\r
+ bodyId : '',\r
+\r
+ /**\r
+ * Sets the "class" attribute to be used on the body element of the editing\r
+ * area. This can be useful when reusing the original CSS file you're using\r
+ * on your live website and you want to assing to the editor the same class\r
+ * name you're using for the region that'll hold the contents. In this way,\r
+ * class specific CSS rules will be enabled.\r
+ * @since 3.1\r
+ * @type String\r
+ * @default '' (empty)\r
+ * @example\r
+ * config.bodyClass = 'contents';\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 <html>, <head> and\r
+ * <body> tags. The final output will also reflect this setting,\r
+ * including the <body> contents only if this setting is disabled.\r
+ * @since 3.1\r
+ * @type Boolean\r
+ * @default false\r
+ * @example\r
+ * config.fullPage = true;\r
+ */\r
+ fullPage : false,\r
+\r
+ /**\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
+ * config.height = '25em';\r
+ * config.height = '300px';\r
+ */\r
+ height : 200,\r
+\r
+ /**\r
+ * Comma separated list of plugins to load and initialize for an editor\r
+ * instance. This should be rarely changed, using instead the\r
+ * {@link CKEDITOR.config.extraPlugins} and\r
+ * {@link CKEDITOR.config.removePlugins} for customizations.\r
+ * @type String\r
+ * @example\r
+ */\r
+ plugins :\r
+ 'about,' +\r
+ 'a11yhelp,' +\r
+ 'basicstyles,' +\r
+ 'bidi,' +\r
+ 'blockquote,' +\r
+ 'button,' +\r
+ 'clipboard,' +\r
+ 'colorbutton,' +\r
+ 'colordialog,' +\r
+ 'contextmenu,' +\r
+ 'dialogadvtab,' +\r
+ 'div,' +\r
+ 'elementspath,' +\r
+ 'enterkey,' +\r
+ 'entities,' +\r
+ 'filebrowser,' +\r
+ 'find,' +\r
+ 'flash,' +\r
+ 'font,' +\r
+ 'format,' +\r
+ 'forms,' +\r
+ 'horizontalrule,' +\r
+ 'htmldataprocessor,' +\r
+ 'iframe,' +\r
+ 'image,' +\r
+ 'indent,' +\r
+ 'justify,' +\r
+ 'keystrokes,' +\r
+ 'link,' +\r
+ 'list,' +\r
+ 'liststyle,' +\r
+ 'maximize,' +\r
+ 'newpage,' +\r
+ 'pagebreak,' +\r
+ 'pastefromword,' +\r
+ 'pastetext,' +\r
+ 'popup,' +\r
+ 'preview,' +\r
+ 'print,' +\r
+ 'removeformat,' +\r
+ 'resize,' +\r
+ 'save,' +\r
+ 'scayt,' +\r
+ 'smiley,' +\r
+ 'showblocks,' +\r
+ 'showborders,' +\r
+ 'sourcearea,' +\r
+ 'stylescombo,' +\r
+ 'table,' +\r
+ 'tabletools,' +\r
+ 'specialchar,' +\r
+ 'tab,' +\r
+ 'templates,' +\r
+ 'toolbar,' +\r
+ 'undo,' +\r
+ 'wysiwygarea,' +\r
+ 'wsc',\r
+\r
+ /**\r
+ * List of additional plugins to be loaded. This is a tool setting which\r
+ * makes it easier to add new plugins, whithout having to touch and\r
+ * possibly breaking the {@link CKEDITOR.config.plugins} setting.\r
+ * @type String\r
+ * @example\r
+ * config.extraPlugins = 'myplugin,anotherplugin';\r
+ */\r
+ extraPlugins : '',\r
+\r
+ /**\r
+ * List of plugins that must not be loaded. This is a tool setting which\r
+ * makes it easier to avoid loading plugins definied in the\r
+ * {@link CKEDITOR.config.plugins} setting, whithout having to touch it and\r
+ * potentially breaking it.\r
+ * @type String\r
+ * @example\r
+ * config.removePlugins = 'elementspath,save,font';\r
+ */\r
+ removePlugins : '',\r
+\r
+ /**\r
+ * List of regular expressions to be executed over the input HTML,\r
+ * indicating HTML source code that matched must <strong>not</strong> present in WYSIWYG mode for editing.\r
+ * @type Array\r
+ * @default [] (empty array)\r
+ * @example\r
+ * config.protectedSource.push( /<\?[\s\S]*?\?>/g ); // PHP Code\r
+ * config.protectedSource.push( /<%[\s\S]*?%>/g ); // ASP Code\r
+ * config.protectedSource.push( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ); // ASP.Net Code\r
+ */\r
+ protectedSource : [],\r
+\r
+ /**\r
+ * The editor tabindex value.\r
+ * @type Number\r
+ * @default 0 (zero)\r
+ * @example\r
+ * config.tabIndex = 1;\r
+ */\r
+ tabIndex : 0,\r
+\r
+ /**\r
+ * The theme to be used to build the UI.\r
+ * @type String\r
+ * @default 'default'\r
+ * @see CKEDITOR.config.skin\r
+ * @example\r
+ * config.theme = 'default';\r
+ */\r
+ theme : 'default',\r
+\r
+ /**\r
+ * The skin to load. It may be the name of the skin folder inside the\r
+ * editor installation path, or the name and the path separated by a comma.\r
+ * @type String\r
+ * @default 'default'\r
+ * @example\r
+ * config.skin = 'v2';\r
+ * @example\r
+ * config.skin = 'myskin,/customstuff/myskin/';\r
+ */\r
+ skin : 'kama',\r
+\r
+ /**\r
+ * The editor width in CSS size format or pixel integer.\r
+ * @type String|Number\r
+ * @default '' (empty)\r
+ * @example\r
+ * config.width = 850;\r
+ * @example\r
+ * config.width = '75%';\r
+ */\r
+ width : '',\r
+\r
+ /**\r
+ * The base Z-index for floating dialogs and popups.\r
+ * @type Number\r
+ * @default 10000\r
+ * @example\r
+ * config.baseFloatZIndex = 2000\r
+ */\r
+ baseFloatZIndex : 10000\r
+};\r
+\r
+/**\r
+ * Indicates that some of the editor features, like alignment and text\r
+ * direction, should used the "computed value" of the feature to indicate it's\r
+ * on/off state, instead of using the "real value".<br />\r
+ * <br />\r
+ * If enabled, in a left to right written document, the "Left Justify"\r
+ * alignment button will show as active, even if the aligment style is not\r
+ * explicitly applied to the current paragraph in the editor.\r
+ * @name CKEDITOR.config.useComputedState\r
+ * @type Boolean\r
+ * @default true\r
+ * @since 3.4\r
+ * @example\r
+ * config.useComputedState = false;\r
+ */\r
+\r
+// PACKAGER_RENAME( CKEDITOR.config )\r