Code Index | File Index

Namespaces

Classes


Namespace CKEDITOR.config


Defined in: core/config.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Holds the default configuration settings.
Field Summary
Field Attributes Field Name and Description
<static>  
CKEDITOR.config.autoGrow_maxHeight
The maximum height to which the editor can reach using AutoGrow.
<static>  
CKEDITOR.config.autoGrow_minHeight
The minimum height to which the editor can reach using AutoGrow.
<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 dialogs and popups.
<static>  
CKEDITOR.config.baseHref
The base href URL used to resolve relative and absolute URLs in the editor content.
<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 the META (Mac) key is pressed while opening the context menu.
<static>  
CKEDITOR.config.colorButton_backStyle
Holds the style definition to be used to apply 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.
<static>  
CKEDITOR.config.colorButton_foreStyle
Holds the style definition to be used to apply the text foreground color.
<static>  
CKEDITOR.config.contentsCss
The CSS file(s) to be used to apply style to the contents.
<static>  
CKEDITOR.config.contentsLangDirection
The writting direction of the language used to write the editor contents.
<static>  
CKEDITOR.config.contentsLanguage
Language code of the writting language which is used to author 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 to be used to apply the bold style in the text.
<static>  
CKEDITOR.config.coreStyles_italic
The style definition to be used to apply the italic style in the text.
<static>  
CKEDITOR.config.coreStyles_strike
The style definition to be used to apply the strike style in the text.
<static>  
CKEDITOR.config.coreStyles_subscript
The style definition to be used to apply the subscript style in the text.
<static>  
CKEDITOR.config.coreStyles_superscript
The style definition to be used to apply the superscript style in the text.
<static>  
CKEDITOR.config.coreStyles_underline
The style definition to be used to apply the underline style in 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 CKEDITOR.config.language is left empty and it's not possible to localize the editor to the user language.
<static>  
CKEDITOR.config.dialog_backgroundCoverColor
The color of the dialog background cover.
<static>  
The opacity of the dialog background cover.
<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 spell checker while typing natively available in the browser (currently Firefox and Safari only).
<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.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 for the ENTER key.
<static>  
CKEDITOR.config.entities
Whether to use HTML entities in the output.
<static>  
CKEDITOR.config.entities_additional
An additional list of 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 comprised in the ASCII character table, to their relative decimal numeric representation of HTML entity.
<static>  
CKEDITOR.config.extraPlugins
List of additional plugins to be loaded.
<static>  
CKEDITOR.config.filebrowserBrowseUrl
The location of an external file browser, that should be launched when "Browse Server" button is pressed.
<static>  
CKEDITOR.config.filebrowserFlashBrowseUrl
The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Flash dialog.
<static>  
CKEDITOR.config.filebrowserFlashUploadUrl
The location of a script that handles file uploads in the Flash dialog.
<static>  
The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Link tab of Image dialog.
<static>  
CKEDITOR.config.filebrowserImageBrowseUrl
The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Image dialog.
<static>  
CKEDITOR.config.filebrowserImageUploadUrl
The location of a script that handles file uploads in the Image dialog.
<static>  
CKEDITOR.config.filebrowserUploadUrl
The location of a script that handles file uploads.
<static>  
CKEDITOR.config.filebrowserWindowFeatures
The "features" to use in the file browser popup window.
<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 respect of CKEDITOR.config.enterMode as line break regardless of the context, E.g.
<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.
<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 inputted as a full HTML page.
<static>  
CKEDITOR.config.height
The height of editing area( content ), in relative or absolute, e.g.
<static>  
CKEDITOR.config.htmlEncodeOutput
Whether escape HTML when editor update 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.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.menu_subMenuDelay
The amount of time, in milliseconds, the editor waits before showing submenu options when moving the mouse over options that contains submenus, like the "Cell Properties" entry for tables.
<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 load and initialize for an editor instance.
<static>  
CKEDITOR.config.protectedSource
List of regular expressions to be executed over the input HTML, indicating code that must stay untouched.
<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
List of plugins that must not be loaded.
<static>  
CKEDITOR.config.resize_dir
The directions to 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 it with the resize handle.
<static>  
CKEDITOR.config.resize_maxWidth
The maximum editor width, in pixels, when resizing it with the resize handle.
<static>  
CKEDITOR.config.resize_minHeight
The minimum editor height, in pixels, when resizing it with the resize handle.
<static>  
CKEDITOR.config.resize_minWidth
The minimum editor width, in pixels, when resizing it with the resize handle.
<static>  
CKEDITOR.config.scayt_autoStartup
If enabled (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
Define order of placing of 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 spellchecking language for SCAYT.
<static>  
CKEDITOR.config.scayt_srcUrl
Set the URL to SCAYT core.
<static>  
CKEDITOR.config.scayt_uiTabs
Sets the visibility of the SCAYT tabs in the settings dialog and toolbar button.
<static>  
CKEDITOR.config.scayt_userDictionaryName
Makes it possible to activate a custom dictionary on SCAYT.
<static>  
CKEDITOR.config.shiftEnterMode
Just like the CKEDITOR.config.enterMode setting, it defines the behavior for the SHIFT+ENTER key.
<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.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.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 UI.
<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.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.undoStackSize
The number of undo steps to be saved.
<static>  
CKEDITOR.config.useComputedState
Indicates that some of the editor features, like alignement and text direction, should used the "computed value" of the feature to indicate it's on/off state, instead of using the "real value".
<static>  
CKEDITOR.config.width
The editor width in CSS size format or pixel integer.
Namespace Detail
CKEDITOR.config
Since: 3.0
Holds the default configuration settings. Changes to this object are reflected in all editor instances, if not specificaly specified for those instances.
// All editor created after the following setting will not load custom
// configuration files.
CKEDITOR.config.customConfig = '';
Field Detail
<static> {Number} CKEDITOR.config.autoGrow_maxHeight
Since: 3.4
The maximum height to which the editor can reach using AutoGrow. 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 to which the editor can reach using AutoGrow.
Defined in: plugins/autogrow/plugin.js.
config.autoGrow_minHeight = 300;
Default Value:
200

<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 dialogs 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 string)

<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.
NO EXAMPLE AVAILABLE
Default Value:
''

<static> {String} CKEDITOR.config.bodyId
Since: 3.1
Sets the "id" attribute to be used on the body element of the editing area.
NO EXAMPLE AVAILABLE
Default Value:
''

<static> {Boolean} CKEDITOR.config.browserContextMenuOnCtrl
Since: 3.0.2
Whether to show the browser native context menu when the CTRL or the META (Mac) key is pressed while opening the context menu.
Defined in: plugins/contextmenu/plugin.js.
config.browserContextMenuOnCtrl = false;
Default Value:
true

<static> {Object} CKEDITOR.config.colorButton_backStyle
Since: 3.0
Holds the style definition to be used to apply the text background color.
Defined in: plugins/colorbutton/plugin.js.
// This is basically the default setting value.
config.colorButton_backStyle =
    {
        element : 'span',
        styles : { 'background-color' : '#(color)' }
    };

<static> {String} CKEDITOR.config.colorButton_colors
Since: 3.0
Defines the colors to be displayed in the color selectors. It's a string containing the hexadecimal notation for HTML colors, without the "#" prefix. Since 3.3: A name may be optionally defined by prefixing the entries with the name and the slash character. For example, "FontColor1/FF9900" will be displayed as the color #FF9900 in the selector, but will be outputted 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:
false

<static> {Object} CKEDITOR.config.colorButton_foreStyle
Since: 3.0
Holds the style definition to be used to apply the text foreground color.
Defined in: plugins/colorbutton/plugin.js.
// This is basically the default setting value.
config.colorButton_foreStyle =
    {
        element : 'span',
        styles : { 'color' : '#(color)' }
    };

<static> {String|Array} CKEDITOR.config.contentsCss
Since: 3.0
The CSS file(s) to be used to apply style to the 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 writting direction of the language used to write the editor contents. Allowed values are:
config.contentsLangDirection = 'rtl';
Default Value:
'ui'

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

<static> {String} CKEDITOR.config.corePlugins
Since: 3.0
A comma separated list of plugins that are not related to editor instances. Reserved to 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 to be used to apply the bold style in the text.
Defined in: plugins/basicstyles/plugin.js.
config.coreStyles_bold = { element : 'b', overrides : 'strong' };
config.coreStyles_bold = { element : 'span', attributes : {'class': 'Bold'} };

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

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

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

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

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

<static> {String} CKEDITOR.config.customConfig
Since: 3.0
The URL path for the custom configuration file to be loaded. If not overloaded with inline configurations, 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( 'myfiled', { customConfig : '/myconfig.js' } );
// Do not load any custom configuration file.
CKEDITOR.replace( 'myfiled', { customConfig : '' } );
Default Value:
'<CKEditor folder>/config.js'

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

<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> {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 spell checker while typing natively available in the browser (currently Firefox and Safari only).

Even if word suggestions will not appear in the CKEditor context menu, this feature is useful to help quickly identifying misspelled words.

This setting is currently compatible with Firefox only due to limitations in other browsers.
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> {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 for the ENTER key. It also dictates other behaviour rules in 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, and their relative behavior: Note: It's recommended to use the CKEDITOR.ENTER_P value because of its semantic value and correctness. The editor is optimized for this value.
// Not recommended.
config.enterMode = CKEDITOR.ENTER_BR;

<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
An additional list of entities to be used. It's a string containing each entry separated by a comma. Entities names or number must be used, exclusing the "&" preffix and the ";" termination.
Defined in: plugins/entities/plugin.js.
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 at 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 at 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} CKEDITOR.config.entities_processNumerical
Since: 3.0
Whether to convert all remaining characters, not comprised in the ASCII character table, to their relative decimal numeric representation of HTML entity. When specified as the value 'force', it will simply convert all entities into the above form. For example, the phrase "This is Chinese: 汉语." is outputted as "This is Chinese: &#27721;&#35821;."
Defined in: plugins/entities/plugin.js.
config.entities_processNumerical = true;
config.entities_processNumerical = 'force';		//Convert from " " into " ";
Default Value:
false

<static> {String} CKEDITOR.config.extraPlugins
Since: 3.0
List of additional plugins to be loaded. This is a tool setting which makes it easier to add new plugins, whithout having to touch and possibly breaking 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 "Browse Server" button is pressed. If configured, the "Browse Server" button will appear in Link, Image and Flash dialogs.
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 "Browse Server" button is pressed in the Flash dialog. 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 a script that handles file uploads in the Flash dialog. 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 "Browse Server" button is pressed in the Link tab of Image dialog. 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 "Browse Server" button is pressed in the Image dialog. 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 a script that handles file uploads in the Image dialog. 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 a script that handles file uploads. If set, the "Upload" tab will appear in "Link", "Image" and "Flash" dialogs.
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> {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> {Undefined} CKEDITOR.config.forceEnterMode
Since: 3.2.1
Force the respect of CKEDITOR.config.enterMode as line break regardless of the context, E.g. If CKEDITOR.config.enterMode is set to CKEDITOR.ENTER_P, press enter key inside a 'div' will create a new paragraph with 'p' instead of '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.
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 inputted as a full HTML page. A full page includes the <html>, <head> and <body> tags. 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 editing area( content ), in relative or absolute, e.g. 30px, 5em. Note: Percentage unit is not supported yet. e.g. 30%.
config.height = 500;
config.height = '25em';
config.height = '300px';
Default Value:
'200'

<static> {Boolean} CKEDITOR.config.htmlEncodeOutput
Since: 3.1
Whether escape HTML when editor update 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.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 empty, the editor automatically localize the editor to the user language, if supported, otherwise the CKEDITOR.config.defaultLanguage language 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 items order will reflect the order in this list if no priority has been definted 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> {Number} CKEDITOR.config.menu_subMenuDelay
Since: 3.0
The amount of time, in milliseconds, the editor waits before showing submenu options when moving the mouse over options that contains submenus, like the "Cell Properties" entry for tables.
Defined in: plugins/menu/plugin.js.
// Remove the submenu delay.
config.menu_subMenuDelay = 0;
Default Value:
400

<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 load and initialize for an editor instance. This should be rarely changed, using instead the CKEDITOR.config.extraPlugins and CKEDITOR.config.removePlugins for customizations.

<static> {Array} CKEDITOR.config.protectedSource
Since: 3.0
List of regular expressions to be executed over the input HTML, indicating code that must stay untouched.
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> {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
List of plugins that must not be loaded. This is a tool setting which makes it easier to avoid loading plugins definied in the CKEDITOR.config.plugins setting, whithout having to touch it and potentially breaking it.
config.removePlugins = 'elementspath,save,font';

<static> {String} CKEDITOR.config.resize_dir
Since: 3.3
The directions to 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 disabled the resize handler 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 it with 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 it with 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 it with the resize handle. Note: It fallbacks to editor's actual height if that's 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 it with the resize handle. Note: It fallbacks to editor's actual width if that's 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 (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"). It must be a string with one or more of the following words separated by a pipe ("|"):
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
Define order of placing of SCAYT context menu items by groups. It must be a string with one or more of the following words separated by a pipe ("|"):
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. It's a string containing dictionary ids separared by commas (","). Available only for licensed version. Further details at http://wiki.spellchecker.net/doku.php?id=custom_dictionary_support .
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 version with banner to paid 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. The 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. The possible values are "on" or "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 spellchecking language for SCAYT.
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
Set the URL to SCAYT core. Required to switch to licensed version of SCAYT application. Further details at http://wiki.spellchecker.net/doku.php?id=3rd:wysiwyg:fckeditor:wscckf3l .
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 the SCAYT tabs in the settings dialog and toolbar button. The value must contain a "1" (enabled) or "0" (disabled) number for each of the following entries, in this precise order, separated by a comma (","): "Options", "Languages" and "Dictionary".
Defined in: plugins/scayt/plugin.js.
// Hide 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 on SCAYT. The user dictionary name must be used. Available only for licensed version.
Defined in: plugins/scayt/plugin.js.
config.scayt_userDictionaryName = 'MyDictionary';
Default Value:
''

<static> {Number} CKEDITOR.config.shiftEnterMode
Since: 3.0
Just like the CKEDITOR.config.enterMode setting, it defines the behavior for the SHIFT+ENTER key. The allowed values are the following constants, and their relative behavior:
config.shiftEnterMode = CKEDITOR.ENTER_P;

<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:
+ 'plugins/smiley/images/'

<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.
Defined in: plugins/showblocks/plugin.js.
config.startupOutlineBlocks = true;
Default Value:
false

<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 UI.
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 =
[
    ['Source','-','Save','NewPage','Preview','-','Templates'],
    ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
    ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
    '/',
    ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
    ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
    ['BidiLtr', 'BidiRtl' ],
    ['Link','Unlink','Anchor'],
    ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
    '/',
    ['Styles','Format','Font','FontSize'],
    ['TextColor','BGColor'],
    ['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> {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> {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 alignement and text direction, should used the "computed value" of the feature to indicate it's on/off state, instead of using the "real value". If enabled, in a left to right written document, the "Left Justify" alignment button will show as active, even if the aligment 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 width in CSS size format or pixel integer.
config.width = 850;
config.width = '75%';
Default Value:
'' (empty)

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