Code Index | File Index

Namespaces

Classes


Namespace CKEDITOR.config

Stores default configuration settings. Changes to this object are reflected in all editor instances, if not specified otherwise for a particular instance.
Defined in: core/config.js.

Field Summary
Field Attributes Field Name and Description
<static>  
CKEDITOR.config.autoGrow_bottomSpace
Extra height in pixel to leave between the bottom boundary of content with document size when auto resizing.
<static>  
CKEDITOR.config.autoGrow_maxHeight
The maximum height that the editor can reach using the AutoGrow feature.
<static>  
CKEDITOR.config.autoGrow_minHeight
The minimum height that the editor can reach using the AutoGrow feature.
<static>  
CKEDITOR.config.autoGrow_onStartup
Whether to have the auto grow happen on editor creation.
<static>  
CKEDITOR.config.autoParagraph
Whether automatically create wrapping blocks around inline contents inside document body, this helps to ensure the integrality of the block enter mode.
<static>  
CKEDITOR.config.autoUpdateElement
Whether the replaced element (usually a <textarea>) is to be updated automatically when posting the form containing the editor.
<static>  
CKEDITOR.config.baseFloatZIndex
The base Z-index for floating dialog windows and popups.
<static>  
CKEDITOR.config.baseHref
The base href URL used to resolve relative and absolute URLs in the editor content.
<static>  
CKEDITOR.config.basicEntities
Whether to escape basic HTML entities in the document, including:
  • nbsp
  • gt
  • lt
  • amp
Note: It should not be subject to change unless when outputting a non-HTML data format like BBCode.
<static>  
CKEDITOR.config.blockedKeystrokes
A list of keystrokes to be blocked if not defined in the CKEDITOR.config.keystrokes setting.
<static>  
CKEDITOR.config.bodyClass
Sets the class attribute to be used on the body element of the editing area.
<static>  
CKEDITOR.config.bodyId
Sets the id attribute to be used on the body element of the editing area.
<static>  
CKEDITOR.config.browserContextMenuOnCtrl
Whether to show the browser native context menu when the Ctrl or Meta (Mac) key is pressed on opening the context menu with the right mouse button click or the Menu key.
<static>  
CKEDITOR.config.colorButton_backStyle
Stores the style definition that applies the text background color.
<static>  
CKEDITOR.config.colorButton_colors
Defines the colors to be displayed in the color selectors.
<static>  
CKEDITOR.config.colorButton_enableMore
Whether to enable the More Colors button in the color selectors.
<static>  
CKEDITOR.config.colorButton_foreStyle
Stores the style definition that applies the text foreground color.
<static>  
CKEDITOR.config.contentsCss
The CSS file(s) to be used to apply style to editor contents.
<static>  
CKEDITOR.config.contentsLangDirection
The writing direction of the language used to create the editor contents.
<static>  
CKEDITOR.config.contentsLanguage
Language code of the writing language which is used to create the editor contents.
<static>  
CKEDITOR.config.corePlugins
A comma separated list of plugins that are not related to editor instances.
<static>  
CKEDITOR.config.coreStyles_bold
The style definition that applies the bold style to the text.
<static>  
CKEDITOR.config.coreStyles_italic
The style definition that applies the italics style to the text.
<static>  
CKEDITOR.config.coreStyles_strike
The style definition that applies the strike-through style to the text.
<static>  
CKEDITOR.config.coreStyles_subscript
The style definition that applies the subscript style to the text.
<static>  
CKEDITOR.config.coreStyles_superscript
The style definition that applies the superscript style to the text.
<static>  
CKEDITOR.config.coreStyles_underline
The style definition that applies the underline style to the text.
<static>  
CKEDITOR.config.customConfig
The URL path for the custom configuration file to be loaded.
<static>  
CKEDITOR.config.defaultLanguage
The language to be used if the CKEDITOR.config.language setting is left empty and it is not possible to localize the editor to the user language.
<static>  
CKEDITOR.config.devtools_styles
A setting that stores CSS rules to be injected into the page with styles to be applied to the tooltip element.
<static>  
CKEDITOR.config.dialog_backgroundCoverColor
The color of the dialog background cover.
<static>  
The opacity of the dialog background cover.
<static>  
CKEDITOR.config.dialog_buttonsOrder
The guideline to follow when generating the dialog buttons.
<static>  
CKEDITOR.config.dialog_magnetDistance
The distance of magnetic borders used in moving and resizing dialogs, measured in pixels.
<static>  
CKEDITOR.config.dialog_startupFocusTab
If the dialog has more than one tab, put focus into the first tab as soon as dialog is opened.
<static>  
CKEDITOR.config.disableNativeSpellChecker
Disables the built-in words spell checker if browser provides one.
<static>  
CKEDITOR.config.disableNativeTableHandles
Disables the "table tools" offered natively by the browser (currently Firefox only) to make quick table editing operations, like adding or deleting rows and columns.
<static>  
CKEDITOR.config.disableObjectResizing
Disables the ability of resize objects (image and tables) in the editing area.
<static>  
CKEDITOR.config.disableReadonlyStyling
Disables inline styling on read-only elements.
<static>  
CKEDITOR.config.docType
Sets the DOCTYPE to be used when loading the editor content as HTML.
<static>  
CKEDITOR.config.editingBlock
Whether to render or not the editing block area in the editor interface.
<static>  
CKEDITOR.config.emailProtection
The e-mail address anti-spam protection option.
<static>  
CKEDITOR.config.enableTabKeyTools
Allow context-sensitive tab key behaviors, including the following scenarios:
When selection is anchored inside table cells:
  • If TAB is pressed, select the contents of the "next" cell.
<static>  
CKEDITOR.config.enterMode
Sets the behavior of the Enter key.
<static>  
CKEDITOR.config.entities
Whether to use HTML entities in the output.
<static>  
CKEDITOR.config.entities_additional
A comma separated list of additional entities to be used.
<static>  
CKEDITOR.config.entities_greek
Whether to convert some symbols, mathematical symbols, and Greek letters to HTML entities.
<static>  
CKEDITOR.config.entities_latin
Whether to convert some Latin characters (Latin alphabet No. 1, ISO 8859-1) to HTML entities.
<static>  
CKEDITOR.config.entities_processNumerical
Whether to convert all remaining characters not included in the ASCII character table to their relative decimal numeric representation of HTML entity.
<static>  
CKEDITOR.config.extraPlugins
A list of additional plugins to be loaded.
<static>  
CKEDITOR.config.filebrowserBrowseUrl
The location of an external file browser that should be launched when the Browse Server button is pressed.
<static>  
CKEDITOR.config.filebrowserFlashBrowseUrl
The location of an external file browser that should be launched when the Browse Server button is pressed in the Flash dialog window.
<static>  
CKEDITOR.config.filebrowserFlashUploadUrl
The location of the script that handles file uploads in the Flash dialog window.
<static>  
The location of an external file browser that should be launched when the Browse Server button is pressed in the Link tab of the Image dialog window.
<static>  
CKEDITOR.config.filebrowserImageBrowseUrl
The location of an external file browser that should be launched when the Browse Server button is pressed in the Image dialog window.
<static>  
CKEDITOR.config.filebrowserImageUploadUrl
The location of the script that handles file uploads in the Image dialog window.
<static>  
CKEDITOR.config.filebrowserUploadUrl
The location of the script that handles file uploads.
<static>  
CKEDITOR.config.filebrowserWindowFeatures
The features to use in the file browser popup window.
<static>  
CKEDITOR.config.filebrowserWindowHeight
The height of the file browser popup window.
<static>  
CKEDITOR.config.filebrowserWindowWidth
The width of the file browser popup window.
<static>  
CKEDITOR.config.fillEmptyBlocks
Whether a filler text (non-breaking space entity -  ) will be inserted into empty block elements in HTML output, this is used to render block elements properly with line-height; When a function is instead specified, it'll be passed a CKEDITOR.htmlParser.element to decide whether adding the filler text by expecting a boolean return value.
<static>  
CKEDITOR.config.find_highlight
Defines the style to be used to highlight results with the find dialog.
<static>  
CKEDITOR.config.font_defaultLabel
The text to be displayed in the Font combo is none of the available values matches the current cursor position or text selection.
<static>  
CKEDITOR.config.font_names
The list of fonts names to be displayed in the Font combo in the toolbar.
<static>  
CKEDITOR.config.font_style
The style definition to be used to apply the font in the text.
<static>  
CKEDITOR.config.fontSize_defaultLabel
The text to be displayed in the Font Size combo is none of the available values matches the current cursor position or text selection.
<static>  
CKEDITOR.config.fontSize_sizes
The list of fonts size to be displayed in the Font Size combo in the toolbar.
<static>  
CKEDITOR.config.fontSize_style
The style definition to be used to apply the font size in the text.
<static>  
CKEDITOR.config.forceEnterMode
Force the use of CKEDITOR.config.enterMode as line break regardless of the context.
<static>  
CKEDITOR.config.forcePasteAsPlainText
Whether to force all pasting operations to insert on plain text into the editor, loosing any formatting information possibly available in the source text.
<static>  
CKEDITOR.config.forceSimpleAmpersand
Whether to force using "&" instead of "&amp;" in elements attributes values, it's not recommended to change this setting for compliance with the W3C XHTML 1.0 standards (C.12, XHTML 1.0).
<static>  
CKEDITOR.config.format_address
The style definition to be used to apply the "Address" format.
<static>  
CKEDITOR.config.format_div
The style definition to be used to apply the "Normal (DIV)" format.
<static>  
CKEDITOR.config.format_h1
The style definition to be used to apply the "Heading 1" format.
<static>  
CKEDITOR.config.format_h2
The style definition to be used to apply the "Heading 1" format.
<static>  
CKEDITOR.config.format_h3
The style definition to be used to apply the "Heading 1" format.
<static>  
CKEDITOR.config.format_h4
The style definition to be used to apply the "Heading 1" format.
<static>  
CKEDITOR.config.format_h5
The style definition to be used to apply the "Heading 1" format.
<static>  
CKEDITOR.config.format_h6
The style definition to be used to apply the "Heading 1" format.
<static>  
CKEDITOR.config.format_p
The style definition to be used to apply the "Normal" format.
<static>  
CKEDITOR.config.format_pre
The style definition to be used to apply the "Formatted" format.
<static>  
CKEDITOR.config.format_tags
A list of semi colon separated style names (by default tags) representing the style definition for each entry to be displayed in the Format combo in the toolbar.
<static>  
CKEDITOR.config.fullPage
Indicates whether the contents to be edited are being input as a full HTML page.
<static>  
CKEDITOR.config.height
The height of the editing area (that includes the editor content).
<static>  
CKEDITOR.config.htmlEncodeOutput
Whether to escape HTML when the editor updates the original input element.
<static>  
CKEDITOR.config.ignoreEmptyParagraph
Whether the editor must output an empty value ("") if it's contents is made by an empty paragraph only.
<static>  
CKEDITOR.config.image_previewText
Padding text to set off the image in preview area.
<static>  
CKEDITOR.config.image_removeLinkByEmptyURL
Whether to remove links when emptying the link URL field in the image dialog.
<static>  
CKEDITOR.config.indentClasses
List of classes to use for indenting the contents.
<static>  
CKEDITOR.config.indentOffset
Size of each indentation step
<static>  
CKEDITOR.config.indentUnit
Unit for the indentation style
<static>  
CKEDITOR.config.jqueryOverrideVal
Allows CKEditor to override jQuery.fn.val(), making it possible to use the val() function on textareas, as usual, having it synchronized with CKEditor.
<static>  
CKEDITOR.config.justifyClasses
List of classes to use for aligning the contents.
<static>  
CKEDITOR.config.keystrokes
A list associating keystrokes to editor commands.
<static>  
CKEDITOR.config.language
The user interface language localization to use.
<static>  
CKEDITOR.config.menu_groups
A comma separated list of items group names to be displayed in the context menu.
<static>  
CKEDITOR.config.newpage_html
The HTML to load in the editor when the "new page" command is executed.
<static>  
CKEDITOR.config.pasteFromWordCleanupFile
The file that provides the MS Word cleanup function for pasting operations.
<static>  
Whether to transform MS Word outline numbered headings into lists.
<static>  
CKEDITOR.config.pasteFromWordPromptCleanup
Whether to prompt the user about the clean up of content being pasted from MS Word.
<static>  
Whether to ignore all font related formatting styles, including:
  • font size;
  • font family;
  • font foreground/background color.
<static>  
CKEDITOR.config.pasteFromWordRemoveStyles
Whether to remove element styles that can't be managed with the editor.
<static>  
CKEDITOR.config.plugins
Comma separated list of plugins to be loaded and initialized for an editor instance.
<static>  
CKEDITOR.config.protectedSource
List of regular expressions to be executed on input HTML, indicating HTML source code that when matched, must not be available in the WYSIWYG mode for editing.
<static>  
CKEDITOR.config.readOnly
If true, makes the editor start in read-only state.
<static>  
CKEDITOR.config.removeDialogTabs
The dialog contents to removed.
<static>  
CKEDITOR.config.removeFormatAttributes
A comma separated list of elements attributes to be removed when executing the "remove format" command.
<static>  
CKEDITOR.config.removeFormatTags
A comma separated list of elements to be removed when executing the "remove " format" command.
<static>  
CKEDITOR.config.removePlugins
A list of plugins that must not be loaded.
<static>  
CKEDITOR.config.resize_dir
The dimensions for which the editor resizing is enabled.
<static>  
CKEDITOR.config.resize_enabled
Whether to enable the resizing feature.
<static>  
CKEDITOR.config.resize_maxHeight
The maximum editor height, in pixels, when resizing the editor interface by using the resize handle.
<static>  
CKEDITOR.config.resize_maxWidth
The maximum editor width, in pixels, when resizing the editor interface by using the resize handle.
<static>  
CKEDITOR.config.resize_minHeight
The minimum editor height, in pixels, when resizing the editor interface by using the resize handle.
<static>  
CKEDITOR.config.resize_minWidth
The minimum editor width, in pixels, when resizing the editor interface by using the resize handle.
<static>  
CKEDITOR.config.scayt_autoStartup
If enabled (set to true), turns on SCAYT automatically after loading the editor.
<static>  
CKEDITOR.config.scayt_contextCommands
Customizes the display of SCAYT context menu commands ("Add Word", "Ignore" and "Ignore All").
<static>  
CKEDITOR.config.scayt_contextMenuItemsOrder
Defines the order SCAYT context menu items by groups.
<static>  
CKEDITOR.config.scayt_customDictionaryIds
Links SCAYT to custom dictionaries.
<static>  
CKEDITOR.config.scayt_customerid
Sets the customer ID for SCAYT.
<static>  
CKEDITOR.config.scayt_maxSuggestions
Defines the number of SCAYT suggestions to show in the main context menu.
<static>  
CKEDITOR.config.scayt_moreSuggestions
Enables/disables the "More Suggestions" sub-menu in the context menu.
<static>  
CKEDITOR.config.scayt_sLang
Sets the default spell checking language for SCAYT.
<static>  
CKEDITOR.config.scayt_srcUrl
Sets the URL to SCAYT core.
<static>  
CKEDITOR.config.scayt_uiTabs
Sets the visibility of particular tabs in the SCAYT dialog window and toolbar button.
<static>  
CKEDITOR.config.scayt_userDictionaryName
Makes it possible to activate a custom dictionary in SCAYT.
<static>  
CKEDITOR.config.sharedSpaces
Makes it possible to place some of the editor UI blocks, like the toolbar and the elements path, into any element in the page.
<static>  
CKEDITOR.config.shiftEnterMode
Similarly to the CKEDITOR.config.enterMode setting, it defines the behavior of the Shift+Enter key combination.
<static>  
CKEDITOR.config.skin
The skin to load.
<static>  
CKEDITOR.config.smiley_columns
The number of columns to be generated by the smilies matrix.
<static>  
CKEDITOR.config.smiley_descriptions
The description to be used for each of the smileys defined in the CKEDITOR.config.smiley_images setting.
<static>  
CKEDITOR.config.smiley_images
The file names for the smileys to be displayed.
<static>  
CKEDITOR.config.smiley_path
The base path used to build the URL for the smiley images.
<static>  
CKEDITOR.config.specialChars
The list of special characters visible in the Special Character dialog window.
<static>  
CKEDITOR.config.startupFocus
Sets whether the editor should have the focus when the page loads.
<static>  
CKEDITOR.config.startupMode
The mode to load at the editor startup.
<static>  
CKEDITOR.config.startupOutlineBlocks
Whether to automaticaly enable the "show block" command when the editor loads.
<static>  
CKEDITOR.config.startupShowBorders
Whether to automatically enable the "show borders" command when the editor loads.
<static>  
A regular expression that defines whether a CSS rule will be skipped by the Stylesheet Parser plugin.
<static>  
A regular expression that defines which CSS rules will be used by the Stylesheet Parser plugin.
<static>  
CKEDITOR.config.stylesSet
The "styles definition set" to use in the editor.
<static>  
CKEDITOR.config.tabIndex
The editor tabindex value.
<static>  
CKEDITOR.config.tabSpaces
Intructs the editor to add a number of spaces (&nbsp;) to the text when hitting the TAB key.
<static>  
CKEDITOR.config.templates
The templates definition set to use.
<static>  
CKEDITOR.config.templates_files
The list of templates definition files to load.
<static>  
CKEDITOR.config.templates_replaceContent
Whether the "Replace actual contents" checkbox is checked by default in the Templates dialog.
<static>  
CKEDITOR.config.theme
The theme to be used to build the user interface.
<static>  
CKEDITOR.config.toolbar
The toolbox (alias toolbar) definition.
<static>  
CKEDITOR.config.toolbar_Basic
The toolbar definition.
<static>  
CKEDITOR.config.toolbar_Full
This is the default toolbar definition used by the editor.
<static>  
CKEDITOR.config.toolbarCanCollapse
Whether the toolbar can be collapsed by the user.
<static>  
CKEDITOR.config.toolbarGroupCycling
When enabled, makes the arrow keys navigation cycle within the current toolbar group.
<static>  
CKEDITOR.config.toolbarLocation
The "theme space" to which rendering the toolbar.
<static>  
CKEDITOR.config.toolbarStartupExpanded
Whether the toolbar must start expanded when the editor is loaded.
<static>  
CKEDITOR.config.uiColor
The base user interface color to be used by the editor.
<static>  
CKEDITOR.config.undoStackSize
The number of undo steps to be saved.
<static>  
CKEDITOR.config.useComputedState
Indicates that some of the editor features, like alignment and text direction, should use the "computed value" of the feature to indicate its on/off state instead of using the "real value".
<static>  
CKEDITOR.config.width
The editor UI outer width.
Field Detail
<static> {Number} CKEDITOR.config.autoGrow_bottomSpace
Since: 3.6.2
Extra height in pixel to leave between the bottom boundary of content with document size when auto resizing.
Defined in: plugins/autogrow/plugin.js.
NO EXAMPLE AVAILABLE
Default Value:
0

<static> {Number} CKEDITOR.config.autoGrow_maxHeight
Since: 3.4
The maximum height that the editor can reach using the AutoGrow feature. Zero means unlimited.
Defined in: plugins/autogrow/plugin.js.
config.autoGrow_maxHeight = 400;
Default Value:
0

<static> {Number} CKEDITOR.config.autoGrow_minHeight
Since: 3.4
The minimum height that the editor can reach using the AutoGrow feature.
Defined in: plugins/autogrow/plugin.js.
config.autoGrow_minHeight = 300;
Default Value:
200

<static> {Boolean} CKEDITOR.config.autoGrow_onStartup
Since: 3.6.2
Whether to have the auto grow happen on editor creation.
Defined in: plugins/autogrow/plugin.js.
config.autoGrow_onStartup = true;
Default Value:
false

<static> {Boolean} CKEDITOR.config.autoParagraph
Since: 3.6
Whether automatically create wrapping blocks around inline contents inside document body, this helps to ensure the integrality of the block enter mode. Note: Changing the default value might introduce unpredictable usability issues.
Defined in: plugins/wysiwygarea/plugin.js.
config.autoParagraph = false;
Default Value:
true

<static> {Boolean} CKEDITOR.config.autoUpdateElement
Since: 3.0
Whether the replaced element (usually a <textarea>) is to be updated automatically when posting the form containing the editor.
config.autoUpdateElement = true;
Default Value:
true

<static> {Number} CKEDITOR.config.baseFloatZIndex
Since: 3.0
The base Z-index for floating dialog windows and popups.
config.baseFloatZIndex = 2000
Default Value:
10000

<static> {String} CKEDITOR.config.baseHref
Since: 3.0
The base href URL used to resolve relative and absolute URLs in the editor content.
config.baseHref = 'http://www.example.com/path/';
Default Value:
'' (empty)

<static> {Boolean} CKEDITOR.config.basicEntities
Since: 3.0
Whether to escape basic HTML entities in the document, including: Note: It should not be subject to change unless when outputting a non-HTML data format like BBCode.
Defined in: plugins/entities/plugin.js.
config.basicEntities = false;
Default Value:
true

<static> {Array} CKEDITOR.config.blockedKeystrokes
Since: 3.0
A list of keystrokes to be blocked if not defined in the CKEDITOR.config.keystrokes setting. In this way it is possible to block the default browser behavior for those keystrokes.
Defined in: plugins/keystrokes/plugin.js.
// This is actually the default value.
config.blockedKeystrokes =
[
    CKEDITOR.CTRL + 66 /*B*/,
    CKEDITOR.CTRL + 73 /*I*/,
    CKEDITOR.CTRL + 85 /*U*/
];
Default Value:
(see example)

<static> {String} CKEDITOR.config.bodyClass
Since: 3.1
Sets the class attribute to be used on the body element of the editing area. This can be useful when you intend to reuse the original CSS file you are using on your live website and want to assign the editor the same class as the section that will include the contents. In this way class-specific CSS rules will be enabled.
config.bodyClass = 'contents';
Default Value:
'' (empty)

<static> {String} CKEDITOR.config.bodyId
Since: 3.1
Sets the id attribute to be used on the body element of the editing area. This can be useful when you intend to reuse the original CSS file you are using on your live website and want to assign the editor the same ID as the section that will include the contents. In this way ID-specific CSS rules will be enabled.
config.bodyId = 'contents_id';
Default Value:
'' (empty)

<static> {Boolean} CKEDITOR.config.browserContextMenuOnCtrl
Since: 3.0.2
Whether to show the browser native context menu when the Ctrl or Meta (Mac) key is pressed on opening the context menu with the right mouse button click or the Menu key.
Defined in: plugins/contextmenu/plugin.js.
config.browserContextMenuOnCtrl = false;
Default Value:
true

<static> {Object} CKEDITOR.config.colorButton_backStyle
Since: 3.0
Stores the style definition that applies the text background color.
Defined in: plugins/colorbutton/plugin.js.
// This is actually the default value.
config.colorButton_backStyle =
    {
        element : 'span',
        styles : { 'background-color' : '#(color)' }
    };
Default Value:
(see example)

<static> {String} CKEDITOR.config.colorButton_colors
Since: 3.0
Defines the colors to be displayed in the color selectors. This is a string containing hexadecimal notation for HTML colors, without the "#" prefix.

Since 3.3: A color name may optionally be defined by prefixing the entries with a name and the slash character. For example, "FontColor1/FF9900" will be displayed as the color #FF9900 in the selector, but will be output as "FontColor1".
Defined in: plugins/colorbutton/plugin.js.
// Brazil colors only.
config.colorButton_colors = '00923E,F8C100,28166F';
config.colorButton_colors = 'FontColor1/FF9900,FontColor2/0066CC,FontColor3/F00'
Default Value:
'000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF'

<static> {Boolean} CKEDITOR.config.colorButton_enableMore
Since: 3.0
Whether to enable the More Colors button in the color selectors.
Defined in: plugins/colorbutton/plugin.js.
config.colorButton_enableMore = false;
Default Value:
true

<static> {Object} CKEDITOR.config.colorButton_foreStyle
Since: 3.0
Stores the style definition that applies the text foreground color.
Defined in: plugins/colorbutton/plugin.js.
// This is actually the default value.
config.colorButton_foreStyle =
    {
        element : 'span',
        styles : { 'color' : '#(color)' }
    };
Default Value:
(see example)

<static> {String|Array} CKEDITOR.config.contentsCss
Since: 3.0
The CSS file(s) to be used to apply style to editor contents. It should reflect the CSS used in the final pages where the contents are to be used.
config.contentsCss = '/css/mysitestyles.css';
config.contentsCss = ['/css/mysitestyles.css', '/css/anotherfile.css'];
Default Value:
'<CKEditor folder>/contents.css'

<static> {String} CKEDITOR.config.contentsLangDirection
Since: 3.0
The writing direction of the language used to create the editor contents. Allowed values are:
config.contentsLangDirection = 'rtl';
Default Value:
'ui'

<static> {String} CKEDITOR.config.contentsLanguage
Since: 3.0
Language code of the writing language which is used to create the editor contents.
config.contentsLanguage = 'fr';
Default Value:
Same value as editor UI language.

<static> {String} CKEDITOR.config.corePlugins
Since: 3.0
A comma separated list of plugins that are not related to editor instances. Reserved for plugins that extend the core code only.

There are no ways to override this setting except by editing the source code of CKEditor (_source/core/config.js).

<static> {Object} CKEDITOR.config.coreStyles_bold
Since: 3.0
The style definition that applies the bold style to the text.
Defined in: plugins/basicstyles/plugin.js.
config.coreStyles_bold = { element : 'b', overrides : 'strong' };
config.coreStyles_bold =
    {
        element : 'span',
        attributes : { 'class' : 'Bold' }
    };
Default Value:
{ element : 'strong', overrides : 'b' }

<static> {Object} CKEDITOR.config.coreStyles_italic
Since: 3.0
The style definition that applies the italics style to the text.
Defined in: plugins/basicstyles/plugin.js.
config.coreStyles_italic = { element : 'i', overrides : 'em' };
CKEDITOR.config.coreStyles_italic =
    {
        element : 'span',
        attributes : { 'class' : 'Italic' }
    };
Default Value:
{ element : 'em', overrides : 'i' }

<static> {Object} CKEDITOR.config.coreStyles_strike
Since: 3.0
The style definition that applies the strike-through style to the text.
Defined in: plugins/basicstyles/plugin.js.
CKEDITOR.config.coreStyles_strike =
    {
        element : 'span',
        attributes : { 'class' : 'StrikeThrough' },
        overrides : 'strike'
    };
Default Value:
{ element : 'strike' }

<static> {Object} CKEDITOR.config.coreStyles_subscript
Since: 3.0
The style definition that applies the subscript style to the text.
Defined in: plugins/basicstyles/plugin.js.
CKEDITOR.config.coreStyles_subscript =
    {
        element : 'span',
        attributes : { 'class' : 'Subscript' },
        overrides : 'sub'
    };
Default Value:
{ element : 'sub' }

<static> {Object} CKEDITOR.config.coreStyles_superscript
Since: 3.0
The style definition that applies the superscript style to the text.
Defined in: plugins/basicstyles/plugin.js.
CKEDITOR.config.coreStyles_superscript =
    {
        element : 'span',
        attributes : { 'class' : 'Superscript' },
        overrides : 'sup'
    };
Default Value:
{ element : 'sup' }

<static> {Object} CKEDITOR.config.coreStyles_underline
Since: 3.0
The style definition that applies the underline style to the text.
Defined in: plugins/basicstyles/plugin.js.
CKEDITOR.config.coreStyles_underline =
    {
        element : 'span',
        attributes : { 'class' : 'Underline' }
    };
Default Value:
{ element : 'u' }

<static> {String} CKEDITOR.config.customConfig
Since: 3.0
The URL path for the custom configuration file to be loaded. If not overloaded with inline configuration, it defaults to the config.js file present in the root of the CKEditor installation directory.

CKEditor will recursively load custom configuration files defined inside other custom configuration files.
// Load a specific configuration file.
CKEDITOR.replace( 'myfield', { customConfig : '/myconfig.js' } );
// Do not load any custom configuration file.
CKEDITOR.replace( 'myfield', { customConfig : '' } );
Default Value:
'<CKEditor folder>/config.js'

<static> {String} CKEDITOR.config.defaultLanguage
Since: 3.0
The language to be used if the CKEDITOR.config.language setting is left empty and it is not possible to localize the editor to the user language.
config.defaultLanguage = 'it';
Default Value:
'en'

<static> {String} CKEDITOR.config.devtools_styles
Since: 3.6
A setting that stores CSS rules to be injected into the page with styles to be applied to the tooltip element.
Defined in: plugins/devtools/plugin.js.
// This is actually the default value.
CKEDITOR.config.devtools_styles = "
 #cke_tooltip { padding: 5px; border: 2px solid #333; background: #ffffff }
 #cke_tooltip h2 { font-size: 1.1em; border-bottom: 1px solid; margin: 0; padding: 1px; }
 #cke_tooltip ul { padding: 0pt; list-style-type: none; }
";
Default Value:
(see example)

<static> {String} CKEDITOR.config.dialog_backgroundCoverColor
Since: 3.0
The color of the dialog background cover. It should be a valid CSS color string.
Defined in: plugins/dialog/plugin.js.
config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
Default Value:
'white'

<static> {Number} CKEDITOR.config.dialog_backgroundCoverOpacity
Since: 3.0
The opacity of the dialog background cover. It should be a number within the range [0.0, 1.0].
Defined in: plugins/dialog/plugin.js.
config.dialog_backgroundCoverOpacity = 0.7;
Default Value:
0.5

<static> {String} CKEDITOR.config.dialog_buttonsOrder
Since: 3.5
The guideline to follow when generating the dialog buttons. There are 3 possible options:
Defined in: plugins/dialog/plugin.js.
config.dialog_buttonsOrder = 'rtl';
Default Value:
'OS'

<static> {Number} CKEDITOR.config.dialog_magnetDistance
Since: 3.0
The distance of magnetic borders used in moving and resizing dialogs, measured in pixels.
Defined in: plugins/dialog/plugin.js.
config.dialog_magnetDistance = 30;
Default Value:
20

<static> {Boolean} CKEDITOR.config.dialog_startupFocusTab
Since: 3.0
If the dialog has more than one tab, put focus into the first tab as soon as dialog is opened.
Defined in: plugins/dialog/plugin.js.
config.dialog_startupFocusTab = true;
Default Value:
false

<static> {Boolean} CKEDITOR.config.disableNativeSpellChecker
Since: 3.0
Disables the built-in words spell checker if browser provides one.

Note: Although word suggestions provided by browsers (natively) will not appear in CKEditor's default context menu, users can always reach the native context menu by holding the Ctrl key when right-clicking if CKEDITOR.config.browserContextMenuOnCtrl is enabled or you're simply not using the context menu plugin.
Defined in: plugins/wysiwygarea/plugin.js.
config.disableNativeSpellChecker = false;
Default Value:
true

<static> {Boolean} CKEDITOR.config.disableNativeTableHandles
Since: 3.0
Disables the "table tools" offered natively by the browser (currently Firefox only) to make quick table editing operations, like adding or deleting rows and columns.
Defined in: plugins/wysiwygarea/plugin.js.
config.disableNativeTableHandles = false;
Default Value:
true

<static> {Boolean} CKEDITOR.config.disableObjectResizing
Since: 3.0
Disables the ability of resize objects (image and tables) in the editing area.
Defined in: plugins/wysiwygarea/plugin.js.
config.disableObjectResizing = true;
Default Value:
false

<static> {Boolean} CKEDITOR.config.disableReadonlyStyling
Since: 3.5
Disables inline styling on read-only elements.
Defined in: plugins/styles/plugin.js.
NO EXAMPLE AVAILABLE
Default Value:
false

<static> {String} CKEDITOR.config.docType
Since: 3.0
Sets the DOCTYPE to be used when loading the editor content as HTML.
// Set the DOCTYPE to the HTML 4 (Quirks) mode.
config.docType = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';
Default Value:
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'

<static> {Boolean} CKEDITOR.config.editingBlock
Since: 3.0
Whether to render or not the editing block area in the editor interface.
Defined in: plugins/editingblock/plugin.js.
config.editingBlock = false;
Default Value:
true

<static> {String} CKEDITOR.config.emailProtection
Since: 3.1
The e-mail address anti-spam protection option. The protection will be applied when creating or modifying e-mail links through the editor interface.
Two methods of protection can be choosed:
  1. The e-mail parts (name, domain and any other query string) are assembled into a function call pattern. Such function must be provided by the developer in the pages that will use the contents.
  2. Only the e-mail address is obfuscated into a special string that has no meaning for humans or spam bots, but which is properly rendered and accepted by the browser.
Both approaches require JavaScript to be enabled.
Defined in: plugins/link/dialogs/link.js.
// href="mailto:tester@ckeditor.com?subject=subject&body=body"
config.emailProtection = '';
// href="e-mail"
config.emailProtection = 'encode';
// href="javascript:mt('tester','ckeditor.com','subject','body')"
config.emailProtection = 'mt(NAME,DOMAIN,SUBJECT,BODY)';
Default Value:
'' (empty string = disabled)

<static> {Boolean} CKEDITOR.config.enableTabKeyTools
Since: 3.0
Allow context-sensitive tab key behaviors, including the following scenarios:
When selection is anchored inside table cells:

Defined in: plugins/tab/plugin.js.
config.enableTabKeyTools = false;
Default Value:
true

<static> {Number} CKEDITOR.config.enterMode
Since: 3.0
Sets the behavior of the Enter key. It also determines other behavior rules of the editor, like whether the <br> element is to be used as a paragraph separator when indenting text. The allowed values are the following constants that cause the behavior outlined below: Note: It is recommended to use the CKEDITOR.ENTER_P setting because of its semantic value and correctness. The editor is optimized for this setting.
// Not recommended.
config.enterMode = CKEDITOR.ENTER_BR;
Default Value:
CKEDITOR.ENTER_P

<static> {Boolean} CKEDITOR.config.entities
Since: 3.0
Whether to use HTML entities in the output.
Defined in: plugins/entities/plugin.js.
config.entities = false;
Default Value:
true

<static> {String} CKEDITOR.config.entities_additional
Since: 3.0
A comma separated list of additional entities to be used. Entity names or numbers must be used in a form that excludes the "&" prefix and the ";" ending.
Defined in: plugins/entities/plugin.js.
config.entities_additional = '#1049';		// Adds Cyrillic capital letter Short I (Й).
Default Value:
'#39' (The single quote (') character.)

<static> {Boolean} CKEDITOR.config.entities_greek
Since: 3.0
Whether to convert some symbols, mathematical symbols, and Greek letters to HTML entities. This may be more relevant for users typing text written in Greek. The list of entities can be found in the W3C HTML 4.01 Specification, section 24.3.1.
Defined in: plugins/entities/plugin.js.
config.entities_greek = false;
Default Value:
true

<static> {Boolean} CKEDITOR.config.entities_latin
Since: 3.0
Whether to convert some Latin characters (Latin alphabet No. 1, ISO 8859-1) to HTML entities. The list of entities can be found in the W3C HTML 4.01 Specification, section 24.2.1.
Defined in: plugins/entities/plugin.js.
config.entities_latin = false;
Default Value:
true

<static> {Boolean|String} CKEDITOR.config.entities_processNumerical
Since: 3.0
Whether to convert all remaining characters not included in the ASCII character table to their relative decimal numeric representation of HTML entity. When set to force, it will convert all entities into this format. For example the phrase "This is Chinese: 汉语." is output as "This is Chinese: &#27721;&#35821;."
Defined in: plugins/entities/plugin.js.
config.entities_processNumerical = true;
config.entities_processNumerical = 'force';		//Converts from " " into " ";
Default Value:
false

<static> {String} CKEDITOR.config.extraPlugins
Since: 3.0
A list of additional plugins to be loaded. This setting makes it easier to add new plugins without having to touch and potentially break the CKEDITOR.config.plugins setting.
config.extraPlugins = 'myplugin,anotherplugin';

<static> {String} CKEDITOR.config.filebrowserBrowseUrl
Since: 3.0
The location of an external file browser that should be launched when the Browse Server button is pressed. If configured, the Browse Server button will appear in the Link, Image, and Flash dialog windows.
Defined in: plugins/filebrowser/plugin.js.
config.filebrowserBrowseUrl = '/browser/browse.php';
See:
The File Browser/Uploader documentation.
Default Value:
'' (empty string = disabled)

<static> {String} CKEDITOR.config.filebrowserFlashBrowseUrl
Since: 3.0
The location of an external file browser that should be launched when the Browse Server button is pressed in the Flash dialog window. If not set, CKEditor will use CKEDITOR.config.filebrowserBrowseUrl.
Defined in: plugins/filebrowser/plugin.js.
config.filebrowserFlashBrowseUrl = '/browser/browse.php?type=Flash';
Default Value:
'' (empty string = disabled)

<static> {String} CKEDITOR.config.filebrowserFlashUploadUrl
Since: 3.0
The location of the script that handles file uploads in the Flash dialog window. If not set, CKEditor will use CKEDITOR.config.filebrowserUploadUrl.
Defined in: plugins/filebrowser/plugin.js.
config.filebrowserFlashUploadUrl = '/uploader/upload.php?type=Flash';
Default Value:
'' (empty string = disabled)

<static> {String} CKEDITOR.config.filebrowserImageBrowseLinkUrl
Since: 3.2
The location of an external file browser that should be launched when the Browse Server button is pressed in the Link tab of the Image dialog window. If not set, CKEditor will use CKEDITOR.config.filebrowserBrowseUrl.
Defined in: plugins/filebrowser/plugin.js.
config.filebrowserImageBrowseLinkUrl = '/browser/browse.php';
Default Value:
'' (empty string = disabled)

<static> {String} CKEDITOR.config.filebrowserImageBrowseUrl
Since: 3.0
The location of an external file browser that should be launched when the Browse Server button is pressed in the Image dialog window. If not set, CKEditor will use CKEDITOR.config.filebrowserBrowseUrl.
Defined in: plugins/filebrowser/plugin.js.
config.filebrowserImageBrowseUrl = '/browser/browse.php?type=Images';
Default Value:
'' (empty string = disabled)

<static> {String} CKEDITOR.config.filebrowserImageUploadUrl
Since: 3.0
The location of the script that handles file uploads in the Image dialog window. If not set, CKEditor will use CKEDITOR.config.filebrowserUploadUrl.
Defined in: plugins/filebrowser/plugin.js.
config.filebrowserImageUploadUrl = '/uploader/upload.php?type=Images';
Default Value:
'' (empty string = disabled)

<static> {String} CKEDITOR.config.filebrowserUploadUrl
Since: 3.0
The location of the script that handles file uploads. If set, the Upload tab will appear in the Link, Image, and Flash dialog windows.
Defined in: plugins/filebrowser/plugin.js.
config.filebrowserUploadUrl = '/uploader/upload.php';
See:
The File Browser/Uploader documentation.
Default Value:
'' (empty string = disabled)

<static> {String} CKEDITOR.config.filebrowserWindowFeatures
Since: 3.4.1
The features to use in the file browser popup window.
Defined in: plugins/filebrowser/plugin.js.
config.filebrowserWindowFeatures = 'resizable=yes,scrollbars=no';
Default Value:
'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes'

<static> {Number|String} CKEDITOR.config.filebrowserWindowHeight
Since: 3.0
The height of the file browser popup window. It can be a number denoting a value in pixels or a percent string.
Defined in: plugins/filebrowser/plugin.js.
config.filebrowserWindowHeight = 580;
config.filebrowserWindowHeight = '50%';
Default Value:
'70%'

<static> {Number|String} CKEDITOR.config.filebrowserWindowWidth
Since: 3.0
The width of the file browser popup window. It can be a number denoting a value in pixels or a percent string.
Defined in: plugins/filebrowser/plugin.js.
config.filebrowserWindowWidth = 750;
config.filebrowserWindowWidth = '50%';
Default Value:
'80%'

<static> {Boolean} CKEDITOR.config.fillEmptyBlocks
Since: 3.5
Whether a filler text (non-breaking space entity -  ) will be inserted into empty block elements in HTML output, this is used to render block elements properly with line-height; When a function is instead specified, it'll be passed a CKEDITOR.htmlParser.element to decide whether adding the filler text by expecting a boolean return value.
Defined in: plugins/htmldataprocessor/plugin.js.
config.fillEmptyBlocks = false;	// Prevent filler nodes in all empty blocks.

// Prevent filler node only in float cleaners.
config.fillEmptyBlocks = function( element )
{
	if ( element.attributes[ 'class' ].indexOf ( 'clear-both' ) != -1 )
		return false;
}
Default Value:
true

<static> {Object} CKEDITOR.config.find_highlight
Since: 3.0
Defines the style to be used to highlight results with the find dialog.
Defined in: plugins/find/plugin.js.
// Highlight search results with blue on yellow.
config.find_highlight =
    {
        element : 'span',
        styles : { 'background-color' : '#ff0', 'color' : '#00f' }
    };

<static> {String} CKEDITOR.config.font_defaultLabel
Since: 3.0
The text to be displayed in the Font combo is none of the available values matches the current cursor position or text selection.
Defined in: plugins/font/plugin.js.
// If the default site font is Arial, we may making it more explicit to the end user.
config.font_defaultLabel = 'Arial';

<static> {String} CKEDITOR.config.font_names
Since: 3.0
The list of fonts names to be displayed in the Font combo in the toolbar. Entries are separated by semi-colons (;), while it's possible to have more than one font for each entry, in the HTML way (separated by comma). A display name may be optionally defined by prefixing the entries with the name and the slash character. For example, "Arial/Arial, Helvetica, sans-serif" will be displayed as "Arial" in the list, but will be outputted as "Arial, Helvetica, sans-serif".
Defined in: plugins/font/plugin.js.
config.font_names =
    'Arial/Arial, Helvetica, sans-serif;' +
    'Times New Roman/Times New Roman, Times, serif;' +
    'Verdana';
config.font_names = 'Arial;Times New Roman;Verdana';

<static> {Object} CKEDITOR.config.font_style
Since: 3.0
The style definition to be used to apply the font in the text.
Defined in: plugins/font/plugin.js.
// This is actually the default value for it.
config.font_style =
    {
        element		: 'span',
        styles		: { 'font-family' : '#(family)' },
        overrides	: [ { element : 'font', attributes : { 'face' : null } } ]
    };

<static> {String} CKEDITOR.config.fontSize_defaultLabel
Since: 3.0
The text to be displayed in the Font Size combo is none of the available values matches the current cursor position or text selection.
Defined in: plugins/font/plugin.js.
// If the default site font size is 12px, we may making it more explicit to the end user.
config.fontSize_defaultLabel = '12px';

<static> {String} CKEDITOR.config.fontSize_sizes
Since: 3.0
The list of fonts size to be displayed in the Font Size combo in the toolbar. Entries are separated by semi-colons (;). Any kind of "CSS like" size can be used, like "12px", "2.3em", "130%", "larger" or "x-small". A display name may be optionally defined by prefixing the entries with the name and the slash character. For example, "Bigger Font/14px" will be displayed as "Bigger Font" in the list, but will be outputted as "14px".
Defined in: plugins/font/plugin.js.
config.fontSize_sizes = '16/16px;24/24px;48/48px;';
config.fontSize_sizes = '12px;2.3em;130%;larger;x-small';
config.fontSize_sizes = '12 Pixels/12px;Big/2.3em;30 Percent More/130%;Bigger/larger;Very Small/x-small';
Default Value:
'8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px'

<static> {Object} CKEDITOR.config.fontSize_style
Since: 3.0
The style definition to be used to apply the font size in the text.
Defined in: plugins/font/plugin.js.
// This is actually the default value for it.
config.fontSize_style =
    {
        element		: 'span',
        styles		: { 'font-size' : '#(size)' },
        overrides	: [ { element : 'font', attributes : { 'size' : null } } ]
    };

<static> {Boolean} CKEDITOR.config.forceEnterMode
Since: 3.2.1
Force the use of CKEDITOR.config.enterMode as line break regardless of the context. If, for example, CKEDITOR.config.enterMode is set to CKEDITOR.ENTER_P, pressing the Enter key inside a <div> element will create a new paragraph with <p> instead of a <div>.
// Not recommended.
config.forceEnterMode = true;
Default Value:
false

<static> {Boolean} CKEDITOR.config.forcePasteAsPlainText
Since: 3.0
Whether to force all pasting operations to insert on plain text into the editor, loosing any formatting information possibly available in the source text. Note: paste from word is not affected by this configuration.
Defined in: plugins/pastetext/plugin.js.
config.forcePasteAsPlainText = true;
Default Value:
false

<static> {Boolean} CKEDITOR.config.forceSimpleAmpersand
Since: 3.0
Whether to force using "&" instead of "&amp;" in elements attributes values, it's not recommended to change this setting for compliance with the W3C XHTML 1.0 standards (C.12, XHTML 1.0).
Defined in: plugins/htmldataprocessor/plugin.js.
config.forceSimpleAmpersand = false;
Default Value:
false

<static> {Object} CKEDITOR.config.format_address
Since: 3.0
The style definition to be used to apply the "Address" format.
Defined in: plugins/format/plugin.js.
config.format_address = { element : 'address', attributes : { 'class' : 'styledAddress' } };

<static> {Object} CKEDITOR.config.format_div
Since: 3.0
The style definition to be used to apply the "Normal (DIV)" format.
Defined in: plugins/format/plugin.js.
config.format_div = { element : 'div', attributes : { 'class' : 'normalDiv' } };

<static> {Object} CKEDITOR.config.format_h1
Since: 3.0
The style definition to be used to apply the "Heading 1" format.
Defined in: plugins/format/plugin.js.
config.format_h1 = { element : 'h1', attributes : { 'class' : 'contentTitle1' } };

<static> {Object} CKEDITOR.config.format_h2
Since: 3.0
The style definition to be used to apply the "Heading 1" format.
Defined in: plugins/format/plugin.js.
config.format_h2 = { element : 'h2', attributes : { 'class' : 'contentTitle2' } };

<static> {Object} CKEDITOR.config.format_h3
Since: 3.0
The style definition to be used to apply the "Heading 1" format.
Defined in: plugins/format/plugin.js.
config.format_h3 = { element : 'h3', attributes : { 'class' : 'contentTitle3' } };

<static> {Object} CKEDITOR.config.format_h4
Since: 3.0
The style definition to be used to apply the "Heading 1" format.
Defined in: plugins/format/plugin.js.
config.format_h4 = { element : 'h4', attributes : { 'class' : 'contentTitle4' } };

<static> {Object} CKEDITOR.config.format_h5
Since: 3.0
The style definition to be used to apply the "Heading 1" format.
Defined in: plugins/format/plugin.js.
config.format_h5 = { element : 'h5', attributes : { 'class' : 'contentTitle5' } };

<static> {Object} CKEDITOR.config.format_h6
Since: 3.0
The style definition to be used to apply the "Heading 1" format.
Defined in: plugins/format/plugin.js.
config.format_h6 = { element : 'h6', attributes : { 'class' : 'contentTitle6' } };

<static> {Object} CKEDITOR.config.format_p
Since: 3.0
The style definition to be used to apply the "Normal" format.
Defined in: plugins/format/plugin.js.
config.format_p = { element : 'p', attributes : { 'class' : 'normalPara' } };

<static> {Object} CKEDITOR.config.format_pre
Since: 3.0
The style definition to be used to apply the "Formatted" format.
Defined in: plugins/format/plugin.js.
config.format_pre = { element : 'pre', attributes : { 'class' : 'code' } };

<static> {String} CKEDITOR.config.format_tags
Since: 3.0
A list of semi colon separated style names (by default tags) representing the style definition for each entry to be displayed in the Format combo in the toolbar. Each entry must have its relative definition configuration in a setting named "format_(tagName)". For example, the "p" entry has its definition taken from config.format_p.
Defined in: plugins/format/plugin.js.
config.format_tags = 'p;h2;h3;pre'
Default Value:
'p;h1;h2;h3;h4;h5;h6;pre;address;div'

<static> {Boolean} CKEDITOR.config.fullPage
Since: 3.1
Indicates whether the contents to be edited are being input as a full HTML page. A full page includes the <html>, <head>, and <body> elements. The final output will also reflect this setting, including the <body> contents only if this setting is disabled.
config.fullPage = true;
Default Value:
false

<static> {Number|String} CKEDITOR.config.height
Since: 3.0
The height of the editing area (that includes the editor content). This can be an integer, for pixel sizes, or any CSS-defined length unit.

Note: Percent units (%) are not supported.
config.height = 500; // 500 pixels.
config.height = '25em'; // CSS length.
config.height = '300px'; // CSS length.
Default Value:
200

<static> {Boolean} CKEDITOR.config.htmlEncodeOutput
Since: 3.1
Whether to escape HTML when the editor updates the original input element.
Defined in: core/editor.js.
config.htmlEncodeOutput = true;
Default Value:
false

<static> {Boolean} CKEDITOR.config.ignoreEmptyParagraph
Since: 3.0
Whether the editor must output an empty value ("") if it's contents is made by an empty paragraph only.
Defined in: plugins/wysiwygarea/plugin.js.
config.ignoreEmptyParagraph = false;
Default Value:
true

<static> {String} CKEDITOR.config.image_previewText
Since: 3.0
Padding text to set off the image in preview area.
Defined in: plugins/image/plugin.js.
config.image_previewText = CKEDITOR.tools.repeat( '___ ', 100 );
Default Value:
"Lorem ipsum dolor..." placehoder text.

<static> {Boolean} CKEDITOR.config.image_removeLinkByEmptyURL
Since: 3.0
Whether to remove links when emptying the link URL field in the image dialog.
Defined in: plugins/image/plugin.js.
config.image_removeLinkByEmptyURL = false;
Default Value:
true

<static> {Array} CKEDITOR.config.indentClasses
Since: 3.0
List of classes to use for indenting the contents. If it's null, no classes will be used and instead the #indentUnit and #indentOffset properties will be used.
Defined in: plugins/indent/plugin.js.
// Use the classes 'Indent1', 'Indent2', 'Indent3'
config.indentClasses = ['Indent1', 'Indent2', 'Indent3'];
Default Value:
null

<static> {Number} CKEDITOR.config.indentOffset
Since: 3.0
Size of each indentation step
Defined in: plugins/indent/plugin.js.
config.indentOffset = 4;
Default Value:
40

<static> {String} CKEDITOR.config.indentUnit
Since: 3.0
Unit for the indentation style
Defined in: plugins/indent/plugin.js.
config.indentUnit = 'em';
Default Value:
'px'

<static> {Boolean} CKEDITOR.config.jqueryOverrideVal
Since: 3.0
Allows CKEditor to override jQuery.fn.val(), making it possible to use the val() function on textareas, as usual, having it synchronized with CKEditor.

This configuration option is global and executed during the jQuery Adapter loading. It can't be customized across editor instances.
Defined in: adapters/jquery.js.
<script>
CKEDITOR.config.jqueryOverrideVal = true;
</script>
<!-- Important: The JQuery adapter is loaded *after* setting jqueryOverrideVal -->
<script src="/ckeditor/adapters/jquery.js"></script>
// ... then later in the code ...

$( 'textarea' ).ckeditor();
// ...
$( 'textarea' ).val( 'New content' );

<static> {Array} CKEDITOR.config.justifyClasses
Since: 3.0
List of classes to use for aligning the contents. If it's null, no classes will be used and instead the corresponding CSS values will be used. The array should contain 4 members, in the following order: left, center, right, justify.
Defined in: plugins/justify/plugin.js.
// Use the classes 'AlignLeft', 'AlignCenter', 'AlignRight', 'AlignJustify'
config.justifyClasses = [ 'AlignLeft', 'AlignCenter', 'AlignRight', 'AlignJustify' ];
Default Value:
null

<static> {Array} CKEDITOR.config.keystrokes
Since: 3.0
A list associating keystrokes to editor commands. Each element in the list is an array where the first item is the keystroke, and the second is the name of the command to be executed.
Defined in: plugins/keystrokes/plugin.js.
// This is actually the default value.
config.keystrokes =
[
    [ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ],
    [ CKEDITOR.ALT + 122 /*F11*/, 'elementsPathFocus' ],

    [ CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ],

    [ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ],
    [ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ],
    [ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/, 'redo' ],

    [ CKEDITOR.CTRL + 76 /*L*/, 'link' ],

    [ CKEDITOR.CTRL + 66 /*B*/, 'bold' ],
    [ CKEDITOR.CTRL + 73 /*I*/, 'italic' ],
    [ CKEDITOR.CTRL + 85 /*U*/, 'underline' ],

    [ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]
];
Default Value:
(see example)

<static> {String} CKEDITOR.config.language
Since: 3.0
The user interface language localization to use. If left empty, the editor will automatically be localized to the user language. If the user language is not supported, the language specified in the CKEDITOR.config.defaultLanguage configuration setting is used.
// Load the German interface.
config.language = 'de';
Default Value:
'' (empty)

<static> {String} CKEDITOR.config.menu_groups
Since: 3.0
A comma separated list of items group names to be displayed in the context menu. The order of items will reflect the order specified in this list if no priority was defined in the groups.
Defined in: plugins/menu/plugin.js.
config.menu_groups = 'clipboard,table,anchor,link,image';
Default Value:
'clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea'

<static> {String} CKEDITOR.config.newpage_html
Since: 3.0
The HTML to load in the editor when the "new page" command is executed.
Defined in: plugins/newpage/plugin.js.
config.newpage_html = '<p>Type your text here.</p>';
Default Value:
''

<static> {String} CKEDITOR.config.pasteFromWordCleanupFile
Since: 3.1
The file that provides the MS Word cleanup function for pasting operations. Note: This is a global configuration shared by all editor instances present in the page.
Defined in: plugins/pastefromword/plugin.js.
// Load from 'pastefromword' plugin 'filter' sub folder (custom.js file).
CKEDITOR.config.pasteFromWordCleanupFile = 'custom';
Default Value:
'default'

<static> {Boolean} CKEDITOR.config.pasteFromWordNumberedHeadingToList
Since: 3.1
Whether to transform MS Word outline numbered headings into lists.
Defined in: plugins/pastefromword/filter/default.js.
config.pasteFromWordNumberedHeadingToList = true;
Default Value:
false

<static> {Boolean} CKEDITOR.config.pasteFromWordPromptCleanup
Since: 3.1
Whether to prompt the user about the clean up of content being pasted from MS Word.
Defined in: plugins/pastefromword/plugin.js.
config.pasteFromWordPromptCleanup = true;
Default Value:
undefined

<static> {Boolean} CKEDITOR.config.pasteFromWordRemoveFontStyles
Since: 3.1
Whether to ignore all font related formatting styles, including:
Defined in: plugins/pastefromword/filter/default.js.
config.pasteFromWordRemoveFontStyles = false;
Default Value:
true

<static> {Boolean} CKEDITOR.config.pasteFromWordRemoveStyles
Since: 3.1
Whether to remove element styles that can't be managed with the editor. Note that this doesn't handle the font specific styles, which depends on the CKEDITOR.config.pasteFromWordRemoveFontStyles setting instead.
Defined in: plugins/pastefromword/filter/default.js.
config.pasteFromWordRemoveStyles = false;
Default Value:
true

<static> {String} CKEDITOR.config.plugins
Since: 3.0
Comma separated list of plugins to be loaded and initialized for an editor instance. This setting should rarely be changed. It is recommended to use the CKEDITOR.config.extraPlugins and CKEDITOR.config.removePlugins for customization purposes instead.

<static> {Array} CKEDITOR.config.protectedSource
Since: 3.0
List of regular expressions to be executed on input HTML, indicating HTML source code that when matched, must not be available in the WYSIWYG mode for editing.
config.protectedSource.push( /<\?[\s\S]*?\?>/g );   // PHP code
config.protectedSource.push( /<%[\s\S]*?%>/g );   // ASP code
config.protectedSource.push( /(]+>[\s|\S]*?<\/asp:[^\>]+>)|(]+\/>)/gi );   // ASP.Net code
Default Value:
[] (empty array)

<static> {Boolean} CKEDITOR.config.readOnly
Since: 3.6
If true, makes the editor start in read-only state. Otherwise, it will check if the linked <textarea> element has the disabled attribute.
Defined in: core/editor.js.
config.readOnly = true;
See:
CKEDITOR.editor#setReadOnly
Default Value:
false

<static> {String} CKEDITOR.config.removeDialogTabs
Since: 3.5
The dialog contents to removed. It's a string composed by dialog name and tab name with a colon between them. Separate each pair with semicolon (see example). Note: All names are case-sensitive. Note: Be cautious when specifying dialog tabs that are mandatory, like "info", dialog functionality might be broken because of this!
Defined in: plugins/dialog/plugin.js.
config.removeDialogTabs = 'flash:advanced;image:Link';
Default Value:
''

<static> {String} CKEDITOR.config.removeFormatAttributes
Since: 3.0
A comma separated list of elements attributes to be removed when executing the "remove format" command.
Defined in: plugins/removeformat/plugin.js.
Default Value:
'class,style,lang,width,height,align,hspace,valign'

<static> {String} CKEDITOR.config.removeFormatTags
Since: 3.0
A comma separated list of elements to be removed when executing the "remove " format" command. Note that only inline elements are allowed.
Defined in: plugins/removeformat/plugin.js.
Default Value:
'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var'

<static> {String} CKEDITOR.config.removePlugins
Since: 3.0
A list of plugins that must not be loaded. This setting makes it possible to avoid loading some plugins defined in the CKEDITOR.config.plugins setting, without having to touch it and potentially break it.
config.removePlugins = 'elementspath,save,font';

<static> {String} CKEDITOR.config.resize_dir
Since: 3.3
The dimensions for which the editor resizing is enabled. Possible values are both, vertical, and horizontal.
Defined in: plugins/resize/plugin.js.
config.resize_dir = 'vertical';
Default Value:
'both'

<static> {Boolean} CKEDITOR.config.resize_enabled
Since: 3.0
Whether to enable the resizing feature. If this feature is disabled, the resize handle will not be visible.
Defined in: plugins/resize/plugin.js.
config.resize_enabled = false;
Default Value:
true

<static> {Number} CKEDITOR.config.resize_maxHeight
Since: 3.0
The maximum editor height, in pixels, when resizing the editor interface by using the resize handle.
Defined in: plugins/resize/plugin.js.
config.resize_maxHeight = 600;
Default Value:
3000

<static> {Number} CKEDITOR.config.resize_maxWidth
Since: 3.0
The maximum editor width, in pixels, when resizing the editor interface by using the resize handle.
Defined in: plugins/resize/plugin.js.
config.resize_maxWidth = 750;
Default Value:
3000

<static> {Number} CKEDITOR.config.resize_minHeight
Since: 3.0
The minimum editor height, in pixels, when resizing the editor interface by using the resize handle. Note: It falls back to editor's actual height if it is smaller than the default value.
Defined in: plugins/resize/plugin.js.
config.resize_minHeight = 600;
Default Value:
250

<static> {Number} CKEDITOR.config.resize_minWidth
Since: 3.0
The minimum editor width, in pixels, when resizing the editor interface by using the resize handle. Note: It falls back to editor's actual width if it is smaller than the default value.
Defined in: plugins/resize/plugin.js.
config.resize_minWidth = 500;
Default Value:
750

<static> {Boolean} CKEDITOR.config.scayt_autoStartup
Since: 3.0
If enabled (set to true), turns on SCAYT automatically after loading the editor.
Defined in: plugins/scayt/plugin.js.
config.scayt_autoStartup = true;
Default Value:
false

<static> {String} CKEDITOR.config.scayt_contextCommands
Since: 3.0
Customizes the display of SCAYT context menu commands ("Add Word", "Ignore" and "Ignore All"). This must be a string with one or more of the following words separated by a pipe character ("|"):
Defined in: plugins/scayt/plugin.js.
// Show only "Add Word" and "Ignore All" in the context menu.
config.scayt_contextCommands = 'add|ignoreall';
Default Value:
'all'

<static> {String} CKEDITOR.config.scayt_contextMenuItemsOrder
Since: 3.0
Defines the order SCAYT context menu items by groups. This must be a string with one or more of the following words separated by a pipe character ("|"):
Defined in: plugins/scayt/plugin.js.
config.scayt_contextMenuItemsOrder = 'moresuggest|control|suggest';
Default Value:
'suggest|moresuggest|control'

<static> {String} CKEDITOR.config.scayt_customDictionaryIds
Since: 3.0
Links SCAYT to custom dictionaries. This is a string containing dictionary IDs separared by commas (","). Available only for the licensed version. Further details at http://wiki.webspellchecker.net/doku.php?id=installationandconfiguration:customdictionaries:licensed.
Defined in: plugins/scayt/plugin.js.
config.scayt_customDictionaryIds = '3021,3456,3478"';
Default Value:
''

<static> {String} CKEDITOR.config.scayt_customerid
Since: 3.0
Sets the customer ID for SCAYT. Required for migration from free, ad-supported version to paid, ad-free version.
Defined in: plugins/scayt/plugin.js.
// Load SCAYT using my customer ID.
config.scayt_customerid  = 'your-encrypted-customer-id';
Default Value:
''

<static> {Number} CKEDITOR.config.scayt_maxSuggestions
Since: 3.0
Defines the number of SCAYT suggestions to show in the main context menu. Possible values are:
Defined in: plugins/scayt/plugin.js.
// Display only three suggestions in the main context menu.
config.scayt_maxSuggestions = 3;
// Do not show the suggestions directly.
config.scayt_maxSuggestions = -1;
Default Value:
5

<static> {String} CKEDITOR.config.scayt_moreSuggestions
Since: 3.0
Enables/disables the "More Suggestions" sub-menu in the context menu. Possible values are on and off.
Defined in: plugins/scayt/plugin.js.
// Disables the "More Suggestions" sub-menu.
config.scayt_moreSuggestions = 'off';
Default Value:
'on'

<static> {String} CKEDITOR.config.scayt_sLang
Since: 3.0
Sets the default spell checking language for SCAYT. Possible values are: en_US, en_GB, pt_BR, da_DK, nl_NL, en_CA, fi_FI, fr_FR, fr_CA, de_DE, el_GR, it_IT, nb_NO, pt_PT, es_ES, sv_SE.
Defined in: plugins/scayt/plugin.js.
// Sets SCAYT to German.
config.scayt_sLang = 'de_DE';
Default Value:
'en_US'

<static> {String} CKEDITOR.config.scayt_srcUrl
Since: 3.0
Sets the URL to SCAYT core. Required to switch to the licensed version of SCAYT application. Further details available at http://wiki.webspellchecker.net/doku.php?id=migration:hosredfreetolicensedck.
Defined in: plugins/scayt/plugin.js.
config.scayt_srcUrl = "http://my-host/spellcheck/lf/scayt/scayt.js";
Default Value:
''

<static> {String} CKEDITOR.config.scayt_uiTabs
Since: 3.0
Sets the visibility of particular tabs in the SCAYT dialog window and toolbar button. This setting must contain a 1 (enabled) or 0 (disabled) value for each of the following entries, in this precise order, separated by a comma (","): "Options", "Languages", and "Dictionary".
Defined in: plugins/scayt/plugin.js.
// Hides the "Languages" tab.
config.scayt_uiTabs = '1,0,1';
Default Value:
'1,1,1'

<static> {String} CKEDITOR.config.scayt_userDictionaryName
Since: 3.0
Makes it possible to activate a custom dictionary in SCAYT. The user dictionary name must be used. Available only for the licensed version.
Defined in: plugins/scayt/plugin.js.
config.scayt_userDictionaryName = 'MyDictionary';
Default Value:
''

<static> {Object} CKEDITOR.config.sharedSpaces
Since: 3.0
Makes it possible to place some of the editor UI blocks, like the toolbar and the elements path, into any element in the page. The elements used to hold the UI blocks can be shared among several editor instances. In that case, only the blocks of the active editor instance will display.
Defined in: themes/default/theme.js.
// Place the toolbar inside the element with ID "someElementId" and the
// elements path into the element with ID "anotherId".
config.sharedSpaces =
{
    top : 'someElementId',
    bottom : 'anotherId'
};
// Place the toolbar inside the element with ID "someElementId". The
// elements path will remain attached to the editor UI.
config.sharedSpaces =
{
    top : 'someElementId'
};
Default Value:
undefined

<static> {Number} CKEDITOR.config.shiftEnterMode
Since: 3.0
Similarly to the CKEDITOR.config.enterMode setting, it defines the behavior of the Shift+Enter key combination. The allowed values are the following constants the behavior outlined below:
config.shiftEnterMode = CKEDITOR.ENTER_P;
Default Value:
CKEDITOR.ENTER_BR

<static> {String} CKEDITOR.config.skin
Since: 3.0
The skin to load. It may be the name of the skin folder inside the editor installation path, or the name and the path separated by a comma.
config.skin = 'v2';
config.skin = 'myskin,/customstuff/myskin/';
Default Value:
'default'

<static> {Number} CKEDITOR.config.smiley_columns
Since: 3.3.2
The number of columns to be generated by the smilies matrix.
Defined in: plugins/smiley/plugin.js.
config.smiley_columns = 6;
Default Value:
8

<static> {Array} CKEDITOR.config.smiley_descriptions
Since: 3.0
The description to be used for each of the smileys defined in the CKEDITOR.config.smiley_images setting. Each entry in this array list must match its relative pair in the CKEDITOR.config.smiley_images setting.
Defined in: plugins/smiley/plugin.js.
// Default settings.
config.smiley_descriptions =
    [
        'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise',
        'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no',
        'yes', 'heart', 'broken heart', 'kiss', 'mail'
    ];
// Use textual emoticons as description.
config.smiley_descriptions =
    [
        ':)', ':(', ';)', ':D', ':/', ':P', ':*)', ':-o',
        ':|', '>:(', 'o:)', '8-)', '>:-)', ';(', '', '', '',
        '', '', ':-*', ''
    ];
Default Value:
The textual descriptions of smiley.

<static> {Array} CKEDITOR.config.smiley_images
Since: 3.0
The file names for the smileys to be displayed. These files must be contained inside the URL path defined with the CKEDITOR.config.smiley_path setting.
Defined in: plugins/smiley/plugin.js.
// This is actually the default value.
config.smiley_images = [
    'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',
    'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',
    'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',
    'broken_heart.gif','kiss.gif','envelope.gif'];
Default Value:
(see example)

<static> {String} CKEDITOR.config.smiley_path
Since: 3.0
The base path used to build the URL for the smiley images. It must end with a slash.
Defined in: plugins/smiley/plugin.js.
config.smiley_path = 'http://www.example.com/images/smileys/';
config.smiley_path = '/images/smileys/';
Default Value:
CKEDITOR.basePath + 'plugins/smiley/images/'

<static> {Array} CKEDITOR.config.specialChars
Since: 3.0
The list of special characters visible in the Special Character dialog window.
Defined in: plugins/specialchar/plugin.js.
config.specialChars = [ '"', '’', [ '&custom;', 'Custom label' ] ];
config.specialChars = config.specialChars.concat( [ '"', [ '’', 'Custom label' ] ] );

<static> {Boolean} CKEDITOR.config.startupFocus
Since: 3.0
Sets whether the editor should have the focus when the page loads.
Defined in: plugins/editingblock/plugin.js.
config.startupFocus = true;
Default Value:
false

<static> {String} CKEDITOR.config.startupMode
Since: 3.0
The mode to load at the editor startup. It depends on the plugins loaded. By default, the "wysiwyg" and "source" modes are available.
Defined in: plugins/editingblock/plugin.js.
config.startupMode = 'source';
Default Value:
'wysiwyg'

<static> {Boolean} CKEDITOR.config.startupOutlineBlocks
Since: 3.0
Whether to automaticaly enable the "show block" command when the editor loads. (StartupShowBlocks in FCKeditor)
Defined in: plugins/showblocks/plugin.js.
config.startupOutlineBlocks = true;
Default Value:
false

<static> {Boolean} CKEDITOR.config.startupShowBorders
Since: 3.0
Whether to automatically enable the "show borders" command when the editor loads. (ShowBorders in FCKeditor)
Defined in: plugins/showborders/plugin.js.
config.startupShowBorders = false;
Default Value:
true

<static> {RegExp} CKEDITOR.config.stylesheetParser_skipSelectors
Since: 3.6
A regular expression that defines whether a CSS rule will be skipped by the Stylesheet Parser plugin. A CSS rule matching the regular expression will be ignored and will not be available in the Styles drop-down list.
Defined in: plugins/stylesheetparser/plugin.js.
// Ignore rules for body and caption elements, classes starting with "high", and any class defined for no specific element.
config.stylesheetParser_skipSelectors = /(^body\.|^caption\.|\.high|^\.)/i;
See:
CKEDITOR.config.stylesheetParser_validSelectors
Default Value:
/(^body\.|^\.)/i

<static> {RegExp} CKEDITOR.config.stylesheetParser_validSelectors
Since: 3.6
A regular expression that defines which CSS rules will be used by the Stylesheet Parser plugin. A CSS rule matching the regular expression will be available in the Styles drop-down list.
Defined in: plugins/stylesheetparser/plugin.js.
// Only add rules for p and span elements.
config.stylesheetParser_validSelectors = /\^(p|span)\.\w+/;
See:
CKEDITOR.config.stylesheetParser_skipSelectors
Default Value:
/\w+\.\w+/

<static> {String|Array} CKEDITOR.config.stylesSet
Since: 3.3
The "styles definition set" to use in the editor. They will be used in the styles combo and the Style selector of the div container.
The styles may be defined in the page containing the editor, or can be loaded on demand from an external file. In the second case, if this setting contains only a name, the styles definition file will be loaded from the "styles" folder inside the styles plugin folder. Otherwise, this setting has the "name:url" syntax, making it possible to set the URL from which loading the styles file.
Previously this setting was available as config.stylesCombo_stylesSet

Defined in: plugins/styles/plugin.js.
// Load from the styles' styles folder (mystyles.js file).
config.stylesSet = 'mystyles';
// Load from a relative URL.
config.stylesSet = 'mystyles:/editorstyles/styles.js';
// Load from a full URL.
config.stylesSet = 'mystyles:http://www.example.com/editorstyles/styles.js';
// Load from a list of definitions.
config.stylesSet = [
 { name : 'Strong Emphasis', element : 'strong' },
{ name : 'Emphasis', element : 'em' }, ... ];
Default Value:
'default'

<static> {Number} CKEDITOR.config.tabIndex
Since: 3.0
The editor tabindex value.
config.tabIndex = 1;
Default Value:
0 (zero)

<static> {Number} CKEDITOR.config.tabSpaces
Since: 3.0
Intructs the editor to add a number of spaces (&nbsp;) to the text when hitting the TAB key. If set to zero, the TAB key will be used to move the cursor focus to the next element in the page, out of the editor focus.
Defined in: plugins/tab/plugin.js.
config.tabSpaces = 4;
Default Value:
0

<static> {String} CKEDITOR.config.templates
Since: 3.0
The templates definition set to use. It accepts a list of names separated by comma. It must match definitions loaded with the templates_files setting.
Defined in: plugins/templates/plugin.js.
config.templates = 'my_templates';
Default Value:
'default'

<static> {(String) Array} CKEDITOR.config.templates_files
Since: 3.0
The list of templates definition files to load.
Defined in: plugins/templates/plugin.js.
config.templates_files =
    [
        '/editor_templates/site_default.js',
        'http://www.example.com/user_templates.js
    ];
Default Value:
[ 'plugins/templates/templates/default.js' ]

<static> {Boolean} CKEDITOR.config.templates_replaceContent
Since: 3.0
Whether the "Replace actual contents" checkbox is checked by default in the Templates dialog.
Defined in: plugins/templates/plugin.js.
config.templates_replaceContent = false;
Default Value:
true

<static> {String} CKEDITOR.config.theme
Since: 3.0
The theme to be used to build the user interface.
config.theme = 'default';
See:
CKEDITOR.config.skin
Default Value:
'default'

<static> {Array|String} CKEDITOR.config.toolbar
Since: 3.0
The toolbox (alias toolbar) definition. It is a toolbar name or an array of toolbars (strips), each one being also an array, containing a list of UI items.
Defined in: plugins/toolbar/plugin.js.
// Defines a toolbar with only one strip containing the "Source" button, a
// separator and the "Bold" and "Italic" buttons.
config.toolbar =
[
    [ 'Source', '-', 'Bold', 'Italic' ]
];
// Load toolbar_Name where Name = Basic.
config.toolbar = 'Basic';
Default Value:
'Full'

<static> {Array} CKEDITOR.config.toolbar_Basic
Since: 3.0
The toolbar definition. It is an array of toolbars (strips), each one being also an array, containing a list of UI items. Note that this setting is composed by "toolbar_" added by the toolbar name, which in this case is called "Basic". This second part of the setting name can be anything. You must use this name in the CKEDITOR.config.toolbar setting, so you instruct the editor which toolbar_(name) setting to you.
Defined in: plugins/toolbar/plugin.js.
// Defines a toolbar with only one strip containing the "Source" button, a
// separator and the "Bold" and "Italic" buttons.
config.toolbar_Basic =
[
    [ 'Source', '-', 'Bold', 'Italic' ]
];
config.toolbar = 'Basic';

<static> {Array} CKEDITOR.config.toolbar_Full
Since: 3.0
This is the default toolbar definition used by the editor. It contains all editor features.
Defined in: plugins/toolbar/plugin.js.
// This is actually the default value.
config.toolbar_Full =
[
    { name: 'document',    items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },
    { name: 'clipboard',   items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
    { name: 'editing',     items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
    { name: 'forms',       items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] },
    '/',
    { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
    { name: 'paragraph',   items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
    { name: 'links',       items : [ 'Link','Unlink','Anchor' ] },
    { name: 'insert',      items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak' ] },
    '/',
    { name: 'styles',      items : [ 'Styles','Format','Font','FontSize' ] },
    { name: 'colors',      items : [ 'TextColor','BGColor' ] },
    { name: 'tools',       items : [ 'Maximize', 'ShowBlocks','-','About' ] }
];
Default Value:
(see example)

<static> {Boolean} CKEDITOR.config.toolbarCanCollapse
Since: 3.0
Whether the toolbar can be collapsed by the user. If disabled, the collapser button will not be displayed.
Defined in: plugins/toolbar/plugin.js.
config.toolbarCanCollapse = false;
Default Value:
true

<static> {Boolean} CKEDITOR.config.toolbarGroupCycling
Since: 3.6
When enabled, makes the arrow keys navigation cycle within the current toolbar group. Otherwise the arrows will move trought all items available in the toolbar. The TAB key will still be used to quickly jump among the toolbar groups.
Defined in: plugins/toolbar/plugin.js.
config.toolbarGroupCycling = false;
Default Value:
true

<static> {String} CKEDITOR.config.toolbarLocation
Since: 3.0
The "theme space" to which rendering the toolbar. For the default theme, the recommended options are "top" and "bottom".
Defined in: plugins/toolbar/plugin.js.
config.toolbarLocation = 'bottom';
See:
CKEDITOR.config.theme
Default Value:
'top'

<static> {Boolean} CKEDITOR.config.toolbarStartupExpanded
Since: 3.0
Whether the toolbar must start expanded when the editor is loaded.
Defined in: plugins/toolbar/plugin.js.
config.toolbarStartupExpanded = false;
Default Value:
true

<static> {String} CKEDITOR.config.uiColor
Since: 3.0
The base user interface color to be used by the editor. Not all skins are compatible with this setting.
Defined in: skins/kama/skin.js.
// Using a color code.
config.uiColor = '#AADC6E';
// Using an HTML color name.
config.uiColor = 'Gold';
Default Value:
'' (empty)

<static> {Number} CKEDITOR.config.undoStackSize
Since: 3.0
The number of undo steps to be saved. The higher this setting value the more memory is used for it.
Defined in: plugins/undo/plugin.js.
config.undoStackSize = 50;
Default Value:
20

<static> {Boolean} CKEDITOR.config.useComputedState
Since: 3.4
Indicates that some of the editor features, like alignment and text direction, should use the "computed value" of the feature to indicate its on/off state instead of using the "real value".

If enabled in a Left-To-Right written document, the "Left Justify" alignment button will be shown as active, even if the alignment style is not explicitly applied to the current paragraph in the editor.
config.useComputedState = false;
Default Value:
true

<static> {String|Number} CKEDITOR.config.width
Since: 3.0
The editor UI outer width. This can be an integer, for pixel sizes, or any CSS-defined unit.

Unlike the CKEDITOR.config.height setting, this one will set the outer width of the entire editor UI, not for the editing area only.
config.width = 850; // 850 pixels wide.
config.width = '75%'; // CSS unit.
Default Value:
'' (empty)

Copyright © 2003-2010, CKSource - Frederico Knabben. All rights reserved.