---
title: "ckeditor的所有配置项"
author: "icejadelove"
date: "2010-09-18T19:17:36Z"
tags: []
categories: ["编程语言"]
slug: "ckeditor"
draft: false
lastmod: "2010-09-18T19:17:36Z"
id: 766665
url: "https://jdkdev.iteye.com/blog/766665"
---

&lt;!-- ============================== header ================================= --&gt;&lt;!-- begin static/header.html --&gt;

 

# CKEditor 3 JavaScript API Documentation

* * *

&lt;!-- end static/header.html --&gt;&lt;!-- ============================== classes index ============================ --&gt;

&lt;!-- begin publish.classesIndex --&gt;

[Code Index](../index.html) | [File Index](../files.html)

* * *

## Namespaces

- [CKEDITOR](../symbols/CKEDITOR.html)
- [CKEDITOR.ajax](../symbols/CKEDITOR.ajax.html)
- [CKEDITOR.config](../symbols/CKEDITOR.config.html)
- [CKEDITOR.dom](../symbols/CKEDITOR.dom.html)
- [CKEDITOR.dtd](../symbols/CKEDITOR.dtd.html)
- [CKEDITOR.env](../symbols/CKEDITOR.env.html)
- [CKEDITOR.imageCacher](../symbols/CKEDITOR.imageCacher.html)
- [CKEDITOR.loader](../symbols/CKEDITOR.loader.html)
- [CKEDITOR.plugins](../symbols/CKEDITOR.plugins.html)
- [CKEDITOR.resourceManager](../symbols/CKEDITOR.resourceManager.html)
- [CKEDITOR.scriptLoader](../symbols/CKEDITOR.scriptLoader.html)
- [CKEDITOR.skins](../symbols/CKEDITOR.skins.html)
- [CKEDITOR.themes](../symbols/CKEDITOR.themes.html)
- [CKEDITOR.tools](../symbols/CKEDITOR.tools.html)

## Classes

- [CKEDITOR.commandDefinition](../symbols/CKEDITOR.commandDefinition.html)
- [CKEDITOR.dialog](../symbols/CKEDITOR.dialog.html)
- [CKEDITOR.dialog.buttonDefinition](../symbols/CKEDITOR.dialog.buttonDefinition.html)
- [CKEDITOR.dialog.contentDefinition](../symbols/CKEDITOR.dialog.contentDefinition.html)
- [CKEDITOR.dialog.contentDefinitionObject](../symbols/CKEDITOR.dialog.contentDefinitionObject.html)
- [CKEDITOR.dialog.dialogDefinition](../symbols/CKEDITOR.dialog.dialogDefinition.html)
- [CKEDITOR.dialog.dialogDefinitionObject](../symbols/CKEDITOR.dialog.dialogDefinitionObject.html)
- [CKEDITOR.dialog.uiElementDefinition](../symbols/CKEDITOR.dialog.uiElementDefinition.html)
- [CKEDITOR.dialogCommand](../symbols/CKEDITOR.dialogCommand.html)
- [CKEDITOR.dom.document](../symbols/CKEDITOR.dom.document.html)
- [CKEDITOR.dom.domObject](../symbols/CKEDITOR.dom.domObject.html)
- [CKEDITOR.dom.element](../symbols/CKEDITOR.dom.element.html)
- [CKEDITOR.dom.event](../symbols/CKEDITOR.dom.event.html)
- [CKEDITOR.dom.node](../symbols/CKEDITOR.dom.node.html)
- [CKEDITOR.dom.rangeList](../symbols/CKEDITOR.dom.rangeList.html)
- [CKEDITOR.dom.rangeListIterator](../symbols/CKEDITOR.dom.rangeListIterator.html)
- [CKEDITOR.dom.selection](../symbols/CKEDITOR.dom.selection.html)
- [CKEDITOR.dom.text](../symbols/CKEDITOR.dom.text.html)
- [CKEDITOR.dom.window](../symbols/CKEDITOR.dom.window.html)
- [CKEDITOR.editor](../symbols/CKEDITOR.editor.html)
- [CKEDITOR.event](../symbols/CKEDITOR.event.html)
- [CKEDITOR.eventInfo](../symbols/CKEDITOR.eventInfo.html)
- [CKEDITOR.focusManager](../symbols/CKEDITOR.focusManager.html)
- [CKEDITOR.htmlParser](../symbols/CKEDITOR.htmlParser.html)
- [CKEDITOR.htmlParser.cdata](../symbols/CKEDITOR.htmlParser.cdata.html)
- [CKEDITOR.htmlParser.comment](../symbols/CKEDITOR.htmlParser.comment.html)
- [CKEDITOR.htmlParser.element](../symbols/CKEDITOR.htmlParser.element.html)
- [CKEDITOR.htmlParser.fragment](../symbols/CKEDITOR.htmlParser.fragment.html)
- [CKEDITOR.htmlParser.text](../symbols/CKEDITOR.htmlParser.text.html)
- [CKEDITOR.htmlWriter](../symbols/CKEDITOR.htmlWriter.html)
- [CKEDITOR.keystrokeHandler](../symbols/CKEDITOR.keystrokeHandler.html)
- [CKEDITOR.pluginDefinition](../symbols/CKEDITOR.pluginDefinition.html)
- [CKEDITOR.ui](../symbols/CKEDITOR.ui.html)
- [CKEDITOR.ui.button](../symbols/CKEDITOR.ui.button.html)
- [CKEDITOR.ui.dialog.button](../symbols/CKEDITOR.ui.dialog.button.html)
- [CKEDITOR.ui.dialog.checkbox](../symbols/CKEDITOR.ui.dialog.checkbox.html)
- [CKEDITOR.ui.dialog.fieldset](../symbols/CKEDITOR.ui.dialog.fieldset.html)
- [CKEDITOR.ui.dialog.file](../symbols/CKEDITOR.ui.dialog.file.html)
- [CKEDITOR.ui.dialog.fileButton](../symbols/CKEDITOR.ui.dialog.fileButton.html)
- [CKEDITOR.ui.dialog.hbox](../symbols/CKEDITOR.ui.dialog.hbox.html)
- [CKEDITOR.ui.dialog.html](../symbols/CKEDITOR.ui.dialog.html.html)
- [CKEDITOR.ui.dialog.labeledElement](../symbols/CKEDITOR.ui.dialog.labeledElement.html)
- [CKEDITOR.ui.dialog.radio](../symbols/CKEDITOR.ui.dialog.radio.html)
- [CKEDITOR.ui.dialog.select](../symbols/CKEDITOR.ui.dialog.select.html)
- [CKEDITOR.ui.dialog.textarea](../symbols/CKEDITOR.ui.dialog.textarea.html)
- [CKEDITOR.ui.dialog.textInput](../symbols/CKEDITOR.ui.dialog.textInput.html)
- [CKEDITOR.ui.dialog.uiElement](../symbols/CKEDITOR.ui.dialog.uiElement.html)
- [CKEDITOR.ui.dialog.vbox](../symbols/CKEDITOR.ui.dialog.vbox.html)
- [CKEDITOR.ui.handlerDefinition](../symbols/CKEDITOR.ui.handlerDefinition.html)
- [CKEDITOR.xml](../symbols/CKEDITOR.xml.html)

* * *

&lt;!-- end publish.classesIndex --&gt;

&lt;!-- ============================== class title ============================ --&gt;

# Namespace CKEDITOR.config

&lt;!-- ============================== class summary ========================== --&gt;

*Defined in:* [core/config.js](../symbols/src/core_config.js.html).

&lt;!-- ============================== constructor summary ==================== --&gt;

Namespace Summary Constructor Attributes Constructor Name and Description  

[**CKEDITOR.config**](../symbols/CKEDITOR.config.html#constructor)

Holds the default configuration settings.

&lt;!-- ============================== properties summary ===================== --&gt;

Field Summary Field Attributes Field Name and Description &lt;static&gt;  

CKEDITOR.config.[**autoGrow\_maxHeight**](../symbols/CKEDITOR.config.html#.autoGrow_maxHeight)

The maximum height to which the editor can reach using AutoGrow.

&lt;static&gt;  

CKEDITOR.config.[**autoGrow\_minHeight**](../symbols/CKEDITOR.config.html#.autoGrow_minHeight)

The minimum height to which the editor can reach using AutoGrow.

&lt;static&gt;  

CKEDITOR.config.[**autoUpdateElement**](../symbols/CKEDITOR.config.html#.autoUpdateElement)

Whether the replaced element (usually a textarea) is to be updated automatically when posting the form containing the editor.

&lt;static&gt;  

CKEDITOR.config.[**baseFloatZIndex**](../symbols/CKEDITOR.config.html#.baseFloatZIndex)

The base Z-index for floating dialogs and popups.

&lt;static&gt;  

CKEDITOR.config.[**baseHref**](../symbols/CKEDITOR.config.html#.baseHref)

The base href URL used to resolve relative and absolute URLs in the editor content.

&lt;static&gt;  

CKEDITOR.config.[**blockedKeystrokes**](../symbols/CKEDITOR.config.html#.blockedKeystrokes)

A list of keystrokes to be blocked if not defined in the [CKEDITOR.config.keystrokes](../symbols/CKEDITOR.config.html#.keystrokes) setting.

&lt;static&gt;  

CKEDITOR.config.[**bodyClass**](../symbols/CKEDITOR.config.html#.bodyClass)

Sets the "class" attribute to be used on the body element of the editing area.

&lt;static&gt;  

CKEDITOR.config.[**bodyId**](../symbols/CKEDITOR.config.html#.bodyId)

Sets the "id" attribute to be used on the body element of the editing area.

&lt;static&gt;  

CKEDITOR.config.[**browserContextMenuOnCtrl**](../symbols/CKEDITOR.config.html#.browserContextMenuOnCtrl)

Whether to show the browser native context menu when the CTRL or the META (Mac) key is pressed while opening the context menu.

&lt;static&gt;  

CKEDITOR.config.[**colorButton\_backStyle**](../symbols/CKEDITOR.config.html#.colorButton_backStyle)

Holds the style definition to be used to apply the text background color.

&lt;static&gt;  

CKEDITOR.config.[**colorButton\_colors**](../symbols/CKEDITOR.config.html#.colorButton_colors)

Defines the colors to be displayed in the color selectors.

&lt;static&gt;  

CKEDITOR.config.[**colorButton\_enableMore**](../symbols/CKEDITOR.config.html#.colorButton_enableMore)

Whether to enable the "More Colors.

&lt;static&gt;  

CKEDITOR.config.[**colorButton\_foreStyle**](../symbols/CKEDITOR.config.html#.colorButton_foreStyle)

Holds the style definition to be used to apply the text foreground color.

&lt;static&gt;  

CKEDITOR.config.[**contentsCss**](../symbols/CKEDITOR.config.html#.contentsCss)

The CSS file(s) to be used to apply style to the contents.

&lt;static&gt;  

CKEDITOR.config.[**contentsLangDirection**](../symbols/CKEDITOR.config.html#.contentsLangDirection)

The writting direction of the language used to write the editor contents.

&lt;static&gt;  

CKEDITOR.config.[**contentsLanguage**](../symbols/CKEDITOR.config.html#.contentsLanguage)

Language code of the writting language which is used to author the editor contents.

&lt;static&gt;  

CKEDITOR.config.[**corePlugins**](../symbols/CKEDITOR.config.html#.corePlugins)

A comma separated list of plugins that are not related to editor instances.

&lt;static&gt;  

CKEDITOR.config.[**coreStyles\_bold**](../symbols/CKEDITOR.config.html#.coreStyles_bold)

The style definition to be used to apply the bold style in the text.

&lt;static&gt;  

CKEDITOR.config.[**coreStyles\_italic**](../symbols/CKEDITOR.config.html#.coreStyles_italic)

The style definition to be used to apply the italic style in the text.

&lt;static&gt;  

CKEDITOR.config.[**coreStyles\_strike**](../symbols/CKEDITOR.config.html#.coreStyles_strike)

The style definition to be used to apply the strike style in the text.

&lt;static&gt;  

CKEDITOR.config.[**coreStyles\_subscript**](../symbols/CKEDITOR.config.html#.coreStyles_subscript)

The style definition to be used to apply the subscript style in the text.

&lt;static&gt;  

CKEDITOR.config.[**coreStyles\_superscript**](../symbols/CKEDITOR.config.html#.coreStyles_superscript)

The style definition to be used to apply the superscript style in the text.

&lt;static&gt;  

CKEDITOR.config.[**coreStyles\_underline**](../symbols/CKEDITOR.config.html#.coreStyles_underline)

The style definition to be used to apply the underline style in the text.

&lt;static&gt;  

CKEDITOR.config.[**customConfig**](../symbols/CKEDITOR.config.html#.customConfig)

The URL path for the custom configuration file to be loaded.

&lt;static&gt;  

CKEDITOR.config.[**defaultLanguage**](../symbols/CKEDITOR.config.html#.defaultLanguage)

The language to be used if [CKEDITOR.config.language](../symbols/CKEDITOR.config.html#.language) is left empty and it's not possible to localize the editor to the user language.

&lt;static&gt;  

CKEDITOR.config.[**dialog\_backgroundCoverColor**](../symbols/CKEDITOR.config.html#.dialog_backgroundCoverColor)

The color of the dialog background cover.

&lt;static&gt;  

CKEDITOR.config.[**dialog\_backgroundCoverOpacity**](../symbols/CKEDITOR.config.html#.dialog_backgroundCoverOpacity)

The opacity of the dialog background cover.

&lt;static&gt;  

CKEDITOR.config.[**dialog\_magnetDistance**](../symbols/CKEDITOR.config.html#.dialog_magnetDistance)

The distance of magnetic borders used in moving and resizing dialogs, measured in pixels.

&lt;static&gt;  

CKEDITOR.config.[**dialog\_startupFocusTab**](../symbols/CKEDITOR.config.html#.dialog_startupFocusTab)

If the dialog has more than one tab, put focus into the first tab as soon as dialog is opened.

&lt;static&gt;  

CKEDITOR.config.[**disableNativeSpellChecker**](../symbols/CKEDITOR.config.html#.disableNativeSpellChecker)

Disables the built-in spell checker while typing natively available in the browser (currently Firefox and Safari only).

&lt;static&gt;  

CKEDITOR.config.[**disableNativeTableHandles**](../symbols/CKEDITOR.config.html#.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.

&lt;static&gt;  

CKEDITOR.config.[**disableObjectResizing**](../symbols/CKEDITOR.config.html#.disableObjectResizing)

Disables the ability of resize objects (image and tables) in the editing area.

&lt;static&gt;  

CKEDITOR.config.[**docType**](../symbols/CKEDITOR.config.html#.docType)

Sets the doctype to be used when loading the editor content as HTML.

&lt;static&gt;  

CKEDITOR.config.[**editingBlock**](../symbols/CKEDITOR.config.html#.editingBlock)

Whether to render or not the editing block area in the editor interface.

&lt;static&gt;  

CKEDITOR.config.[**emailProtection**](../symbols/CKEDITOR.config.html#.emailProtection)

The e-mail address anti-spam protection option.

&lt;static&gt;  

CKEDITOR.config.[**enableTabKeyTools**](../symbols/CKEDITOR.config.html#.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.

&lt;static&gt;  

CKEDITOR.config.[**enterMode**](../symbols/CKEDITOR.config.html#.enterMode)

Sets the behavior for the ENTER key.

&lt;static&gt;  

CKEDITOR.config.[**entities**](../symbols/CKEDITOR.config.html#.entities)

Whether to use HTML entities in the output.

&lt;static&gt;  

CKEDITOR.config.[**entities\_additional**](../symbols/CKEDITOR.config.html#.entities_additional)

An additional list of entities to be used.

&lt;static&gt;  

CKEDITOR.config.[**entities\_greek**](../symbols/CKEDITOR.config.html#.entities_greek)

Whether to convert some symbols, mathematical symbols, and Greek letters to HTML entities.

&lt;static&gt;  

CKEDITOR.config.[**entities\_latin**](../symbols/CKEDITOR.config.html#.entities_latin)

Whether to convert some Latin characters (Latin alphabet No. 1, ISO 8859-1) to HTML entities.

&lt;static&gt;  

CKEDITOR.config.[**entities\_processNumerical**](../symbols/CKEDITOR.config.html#.entities_processNumerical)

Whether to convert all remaining characters, not comprised in the ASCII character table, to their relative numeric representation of HTML entity.

&lt;static&gt;  

CKEDITOR.config.[**extraPlugins**](../symbols/CKEDITOR.config.html#.extraPlugins)

List of additional plugins to be loaded.

&lt;static&gt;  

CKEDITOR.config.[**filebrowserBrowseUrl**](../symbols/CKEDITOR.config.html#.filebrowserBrowseUrl)

The location of an external file browser, that should be launched when "Browse Server" button is pressed.

&lt;static&gt;  

CKEDITOR.config.[**filebrowserFlashBrowseUrl**](../symbols/CKEDITOR.config.html#.filebrowserFlashBrowseUrl)

The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Flash dialog.

&lt;static&gt;  

CKEDITOR.config.[**filebrowserFlashUploadUrl**](../symbols/CKEDITOR.config.html#.filebrowserFlashUploadUrl)

The location of a script that handles file uploads in the Flash dialog.

&lt;static&gt;  

CKEDITOR.config.[**filebrowserImageBrowseLinkUrl**](../symbols/CKEDITOR.config.html#.filebrowserImageBrowseLinkUrl)

The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Link tab of Image dialog.

&lt;static&gt;  

CKEDITOR.config.[**filebrowserImageBrowseUrl**](../symbols/CKEDITOR.config.html#.filebrowserImageBrowseUrl)

The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Image dialog.

&lt;static&gt;  

CKEDITOR.config.[**filebrowserImageUploadUrl**](../symbols/CKEDITOR.config.html#.filebrowserImageUploadUrl)

The location of a script that handles file uploads in the Image dialog.

&lt;static&gt;  

CKEDITOR.config.[**filebrowserUploadUrl**](../symbols/CKEDITOR.config.html#.filebrowserUploadUrl)

The location of a script that handles file uploads.

&lt;static&gt;  

CKEDITOR.config.[**find\_highlight**](../symbols/CKEDITOR.config.html#.find_highlight)

Defines the style to be used to highlight results with the find dialog.

&lt;static&gt;  

CKEDITOR.config.[**font\_defaultLabel**](../symbols/CKEDITOR.config.html#.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.

&lt;static&gt;  

CKEDITOR.config.[**font\_names**](../symbols/CKEDITOR.config.html#.font_names)

The list of fonts names to be displayed in the Font combo in the toolbar.

&lt;static&gt;  

CKEDITOR.config.[**font\_style**](../symbols/CKEDITOR.config.html#.font_style)

The style definition to be used to apply the font in the text.

&lt;static&gt;  

CKEDITOR.config.[**fontSize\_defaultLabel**](../symbols/CKEDITOR.config.html#.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.

&lt;static&gt;  

CKEDITOR.config.[**fontSize\_sizes**](../symbols/CKEDITOR.config.html#.fontSize_sizes)

The list of fonts size to be displayed in the Font Size combo in the toolbar.

&lt;static&gt;  

CKEDITOR.config.[**fontSize\_style**](../symbols/CKEDITOR.config.html#.fontSize_style)

The style definition to be used to apply the font size in the text.

&lt;static&gt;  

CKEDITOR.config.[**forceEnterMode**](../symbols/CKEDITOR.config.html#.forceEnterMode)

Force the respect of [CKEDITOR.config.enterMode](../symbols/CKEDITOR.config.html#.enterMode) as line break regardless of the context, E.g.

&lt;static&gt;  

CKEDITOR.config.[**forcePasteAsPlainText**](../symbols/CKEDITOR.config.html#.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.

&lt;static&gt;  

CKEDITOR.config.[**forceSimpleAmpersand**](../symbols/CKEDITOR.config.html#.forceSimpleAmpersand)

Whether to force using "&" instead of "&amp;" in elements attributes values.

&lt;static&gt;  

CKEDITOR.config.[**format\_address**](../symbols/CKEDITOR.config.html#.format_address)

The style definition to be used to apply the "Address" format.

&lt;static&gt;  

CKEDITOR.config.[**format\_div**](../symbols/CKEDITOR.config.html#.format_div)

The style definition to be used to apply the "Normal (DIV)" format.

&lt;static&gt;  

CKEDITOR.config.[**format\_h1**](../symbols/CKEDITOR.config.html#.format_h1)

The style definition to be used to apply the "Heading 1" format.

&lt;static&gt;  

CKEDITOR.config.[**format\_h2**](../symbols/CKEDITOR.config.html#.format_h2)

The style definition to be used to apply the "Heading 1" format.

&lt;static&gt;  

CKEDITOR.config.[**format\_h3**](../symbols/CKEDITOR.config.html#.format_h3)

The style definition to be used to apply the "Heading 1" format.

&lt;static&gt;  

CKEDITOR.config.[**format\_h4**](../symbols/CKEDITOR.config.html#.format_h4)

The style definition to be used to apply the "Heading 1" format.

&lt;static&gt;  

CKEDITOR.config.[**format\_h5**](../symbols/CKEDITOR.config.html#.format_h5)

The style definition to be used to apply the "Heading 1" format.

&lt;static&gt;  

CKEDITOR.config.[**format\_h6**](../symbols/CKEDITOR.config.html#.format_h6)

The style definition to be used to apply the "Heading 1" format.

&lt;static&gt;  

CKEDITOR.config.[**format\_p**](../symbols/CKEDITOR.config.html#.format_p)

The style definition to be used to apply the "Normal" format.

&lt;static&gt;  

CKEDITOR.config.[**format\_pre**](../symbols/CKEDITOR.config.html#.format_pre)

The style definition to be used to apply the "Formatted" format.

&lt;static&gt;  

CKEDITOR.config.[**format\_tags**](../symbols/CKEDITOR.config.html#.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.

&lt;static&gt;  

CKEDITOR.config.[**fullPage**](../symbols/CKEDITOR.config.html#.fullPage)

Indicates whether the contents to be edited are being inputted as a full HTML page.

&lt;static&gt;  

CKEDITOR.config.[**height**](../symbols/CKEDITOR.config.html#.height)

The height of editing area( content ), in relative or absolute, e.g.

&lt;static&gt;  

CKEDITOR.config.[**htmlEncodeOutput**](../symbols/CKEDITOR.config.html#.htmlEncodeOutput)

Whether escape HTML when editor update original input element.

&lt;static&gt;  

CKEDITOR.config.[**ignoreEmptyParagraph**](../symbols/CKEDITOR.config.html#.ignoreEmptyParagraph)

Whether the editor must output an empty value ("") if it's contents is made by an empty paragraph only.

&lt;static&gt;  

CKEDITOR.config.[**image\_previewText**](../symbols/CKEDITOR.config.html#.image_previewText)

Padding text to set off the image in preview area.

&lt;static&gt;  

CKEDITOR.config.[**image\_removeLinkByEmptyURL**](../symbols/CKEDITOR.config.html#.image_removeLinkByEmptyURL)

Whether to remove links when emptying the link URL field in the image dialog.

&lt;static&gt;  

CKEDITOR.config.[**keystrokes**](../symbols/CKEDITOR.config.html#.keystrokes)

A list associating keystrokes to editor commands.

&lt;static&gt;  

CKEDITOR.config.[**language**](../symbols/CKEDITOR.config.html#.language)

The user interface language localization to use.

&lt;static&gt;  

CKEDITOR.config.[**menu\_groups**](../symbols/CKEDITOR.config.html#.menu_groups)

A comma separated list of items group names to be displayed in the context menu.

&lt;static&gt;  

CKEDITOR.config.[**menu\_subMenuDelay**](../symbols/CKEDITOR.config.html#.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.

&lt;static&gt;  

CKEDITOR.config.[**newpage\_html**](../symbols/CKEDITOR.config.html#.newpage_html)

The HTML to load in the editor when the "new page" command is executed.

&lt;static&gt;  

CKEDITOR.config.[**pasteFromWordCleanupFile**](../symbols/CKEDITOR.config.html#.pasteFromWordCleanupFile)

The file that provides the MS Word cleanup function for pasting operations.

&lt;static&gt;  

CKEDITOR.config.[**pasteFromWordNumberedHeadingToList**](../symbols/CKEDITOR.config.html#.pasteFromWordNumberedHeadingToList)

Whether to transform MS Word outline numbered headings into lists.

&lt;static&gt;  

CKEDITOR.config.[**pasteFromWordPromptCleanup**](../symbols/CKEDITOR.config.html#.pasteFromWordPromptCleanup)

Whether to prompt the user about the clean up of content being pasted from MS Word.

&lt;static&gt;  

CKEDITOR.config.[**pasteFromWordRemoveFontStyles**](../symbols/CKEDITOR.config.html#.pasteFromWordRemoveFontStyles)

Whether to ignore all font related formatting styles, including:

- font size;
- font family;
- font foreground/background color.

&lt;static&gt;  

CKEDITOR.config.[**pasteFromWordRemoveStyles**](../symbols/CKEDITOR.config.html#.pasteFromWordRemoveStyles)

Whether to remove element styles that can't be managed with the editor.

&lt;static&gt;  

CKEDITOR.config.[**plugins**](../symbols/CKEDITOR.config.html#.plugins)

Comma separated list of plugins to load and initialize for an editor instance.

&lt;static&gt;  

CKEDITOR.config.[**protectedSource**](../symbols/CKEDITOR.config.html#.protectedSource)

List of regular expressions to be executed over the input HTML, indicating code that must stay untouched.

&lt;static&gt;  

CKEDITOR.config.[**removeFormatAttributes**](../symbols/CKEDITOR.config.html#.removeFormatAttributes)

A comma separated list of elements attributes to be removed when executing the "remove format" command.

&lt;static&gt;  

CKEDITOR.config.[**removeFormatTags**](../symbols/CKEDITOR.config.html#.removeFormatTags)

A comma separated list of elements to be removed when executing the "remove " format" command.

&lt;static&gt;  

CKEDITOR.config.[**removePlugins**](../symbols/CKEDITOR.config.html#.removePlugins)

List of plugins that must not be loaded.

&lt;static&gt;  

CKEDITOR.config.[**resize\_dir**](../symbols/CKEDITOR.config.html#.resize_dir)

The directions to which the editor resizing is enabled.

&lt;static&gt;  

CKEDITOR.config.[**resize\_enabled**](../symbols/CKEDITOR.config.html#.resize_enabled)

Whether to enable the resizing feature.

&lt;static&gt;  

CKEDITOR.config.[**resize\_maxHeight**](../symbols/CKEDITOR.config.html#.resize_maxHeight)

The maximum editor height, in pixels, when resizing it with the resize handle.

&lt;static&gt;  

CKEDITOR.config.[**resize\_maxWidth**](../symbols/CKEDITOR.config.html#.resize_maxWidth)

The maximum editor width, in pixels, when resizing it with the resize handle.

&lt;static&gt;  

CKEDITOR.config.[**resize\_minHeight**](../symbols/CKEDITOR.config.html#.resize_minHeight)

The minimum editor height, in pixels, when resizing it with the resize handle.

&lt;static&gt;  

CKEDITOR.config.[**resize\_minWidth**](../symbols/CKEDITOR.config.html#.resize_minWidth)

The minimum editor width, in pixels, when resizing it with the resize handle.

&lt;static&gt;  

CKEDITOR.config.[**scayt\_autoStartup**](../symbols/CKEDITOR.config.html#.scayt_autoStartup)

If enabled (true), turns on SCAYT automatically after loading the editor.

&lt;static&gt;  

CKEDITOR.config.[**scayt\_contextCommands**](../symbols/CKEDITOR.config.html#.scayt_contextCommands)

Customizes the display of SCAYT context menu commands ("Add Word", "Ignore" and "Ignore All").

&lt;static&gt;  

CKEDITOR.config.[**scayt\_contextMenuItemsOrder**](../symbols/CKEDITOR.config.html#.scayt_contextMenuItemsOrder)

Define order of placing of SCAYT context menu items by groups.

&lt;static&gt;  

CKEDITOR.config.[**scayt\_contextMenuOntop**](../symbols/CKEDITOR.config.html#.scayt_contextMenuOntop)

Makes it possible to place the SCAYT context menu items above others.

&lt;static&gt;  

CKEDITOR.config.[**scayt\_customDictionaryIds**](../symbols/CKEDITOR.config.html#.scayt_customDictionaryIds)

Links SCAYT to custom dictionaries.

&lt;static&gt;  

CKEDITOR.config.[**scayt\_customerid**](../symbols/CKEDITOR.config.html#.scayt_customerid)

Sets the customer ID for SCAYT.

&lt;static&gt;  

CKEDITOR.config.[**scayt\_maxSuggestions**](../symbols/CKEDITOR.config.html#.scayt_maxSuggestions)

Defines the number of SCAYT suggestions to show in the main context menu.

&lt;static&gt;  

CKEDITOR.config.[**scayt\_moreSuggestions**](../symbols/CKEDITOR.config.html#.scayt_moreSuggestions)

Enables/disables the "More Suggestions" sub-menu in the context menu.

&lt;static&gt;  

CKEDITOR.config.[**scayt\_sLang**](../symbols/CKEDITOR.config.html#.scayt_sLang)

Sets the default spellchecking language for SCAYT.

&lt;static&gt;  

CKEDITOR.config.[**scayt\_srcUrl**](../symbols/CKEDITOR.config.html#.scayt_srcUrl)

Set the URL to SCAYT core.

&lt;static&gt;  

CKEDITOR.config.[**scayt\_uiTabs**](../symbols/CKEDITOR.config.html#.scayt_uiTabs)

Sets the visibility of the SCAYT tabs in the settings dialog and toolbar button.

&lt;static&gt;  

CKEDITOR.config.[**scayt\_userDictionaryName**](../symbols/CKEDITOR.config.html#.scayt_userDictionaryName)

Makes it possible to activate a custom dictionary on SCAYT.

&lt;static&gt;  

CKEDITOR.config.[**shiftEnterMode**](../symbols/CKEDITOR.config.html#.shiftEnterMode)

Just like the [CKEDITOR.config.enterMode](../symbols/CKEDITOR.config.html#.enterMode) setting, it defines the behavior for the SHIFT+ENTER key.

&lt;static&gt;  

CKEDITOR.config.[**skin**](../symbols/CKEDITOR.config.html#.skin)

The skin to load.

&lt;static&gt;  

CKEDITOR.config.[**smiley\_columns**](../symbols/CKEDITOR.config.html#.smiley_columns)

The number of columns to be generated by the smilies matrix.

&lt;static&gt;  

CKEDITOR.config.[**smiley\_descriptions**](../symbols/CKEDITOR.config.html#.smiley_descriptions)

The description to be used for each of the smileys defined in the [CKEDITOR.config.smiley\_images](../symbols/CKEDITOR.config.html#.smiley_images) setting.

&lt;static&gt;  

CKEDITOR.config.[**smiley\_images**](../symbols/CKEDITOR.config.html#.smiley_images)

The file names for the smileys to be displayed.

&lt;static&gt;  

CKEDITOR.config.[**smiley\_path**](../symbols/CKEDITOR.config.html#.smiley_path)

The base path used to build the URL for the smiley images.

&lt;static&gt;  

CKEDITOR.config.[**startupFocus**](../symbols/CKEDITOR.config.html#.startupFocus)

Sets whether the editor should have the focus when the page loads.

&lt;static&gt;  

CKEDITOR.config.[**startupMode**](../symbols/CKEDITOR.config.html#.startupMode)

The mode to load at the editor startup.

&lt;static&gt;  

CKEDITOR.config.[**startupOutlineBlocks**](../symbols/CKEDITOR.config.html#.startupOutlineBlocks)

Whether to automaticaly enable the "show block" command when the editor loads.

&lt;static&gt;  

CKEDITOR.config.[**stylesSet**](../symbols/CKEDITOR.config.html#.stylesSet)

The "styles definition set" to use in the editor.

&lt;static&gt;  

CKEDITOR.config.[**tabIndex**](../symbols/CKEDITOR.config.html#.tabIndex)

The editor tabindex value.

&lt;static&gt;  

CKEDITOR.config.[**tabSpaces**](../symbols/CKEDITOR.config.html#.tabSpaces)

Intructs the editor to add a number of spaces (&nbsp;) to the text when hitting the TAB key.

&lt;static&gt;  

CKEDITOR.config.[**templates**](../symbols/CKEDITOR.config.html#.templates)

The templates definition set to use.

&lt;static&gt;  

CKEDITOR.config.[**templates\_files**](../symbols/CKEDITOR.config.html#.templates_files)

The list of templates definition files to load.

&lt;static&gt;  

CKEDITOR.config.[**templates\_replaceContent**](../symbols/CKEDITOR.config.html#.templates_replaceContent)

Whether the "Replace actual contents" checkbox is checked by default in the Templates dialog.

&lt;static&gt;  

CKEDITOR.config.[**theme**](../symbols/CKEDITOR.config.html#.theme)

The theme to be used to build the UI.

&lt;static&gt;  

CKEDITOR.config.[**toolbar**](../symbols/CKEDITOR.config.html#.toolbar)

The toolbox (alias toolbar) definition.

&lt;static&gt;  

CKEDITOR.config.[**toolbar\_Basic**](../symbols/CKEDITOR.config.html#.toolbar_Basic)

The toolbar definition.

&lt;static&gt;  

CKEDITOR.config.[**toolbar\_Full**](../symbols/CKEDITOR.config.html#.toolbar_Full)

This is the default toolbar definition used by the editor.

&lt;static&gt;  

CKEDITOR.config.[**toolbarCanCollapse**](../symbols/CKEDITOR.config.html#.toolbarCanCollapse)

Whether the toolbar can be collapsed by the user.

&lt;static&gt;  

CKEDITOR.config.[**toolbarLocation**](../symbols/CKEDITOR.config.html#.toolbarLocation)

The "theme space" to which rendering the toolbar.

&lt;static&gt;  

CKEDITOR.config.[**toolbarStartupExpanded**](../symbols/CKEDITOR.config.html#.toolbarStartupExpanded)

Whether the toolbar must start expanded when the editor is loaded.

&lt;static&gt;  

CKEDITOR.config.[**undoStackSize**](../symbols/CKEDITOR.config.html#.undoStackSize)

The number of undo steps to be saved.

&lt;static&gt;  

CKEDITOR.config.[**useComputedState**](../symbols/CKEDITOR.config.html#.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".

&lt;static&gt;  

CKEDITOR.config.[**width**](../symbols/CKEDITOR.config.html#.width)

The editor width in CSS size format or pixel integer.

&lt;!-- ============================== methods summary ======================== --&gt;&lt;!-- ============================== events summary ======================== --&gt;&lt;!-- ============================== constructor details ==================== --&gt;

[]()

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 = '';
```

&lt;!-- ============================== field details ========================== --&gt;

Field Detail

[]()

&lt;static&gt; *{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](../symbols/src/plugins_autogrow_plugin.js.html).

```
config.autoGrow_maxHeight = 400;
```

Default Value:

0

* * *

[]()

&lt;static&gt; *{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](../symbols/src/plugins_autogrow_plugin.js.html).

```
config.autoGrow_minHeight = 300;
```

Default Value:

200

* * *

[]()

&lt;static&gt; *{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

* * *

[]()

&lt;static&gt; *{Number}* *CKEDITOR.config.***baseFloatZIndex**

Since: 3.0

The base Z-index for floating dialogs and popups.

```
config.baseFloatZIndex = 2000
```

Default Value:

10000

* * *

[]()

&lt;static&gt; *{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)

* * *

[]()

&lt;static&gt; *{Array}* *CKEDITOR.config.***blockedKeystrokes**

Since: 3.0

A list of keystrokes to be blocked if not defined in the [CKEDITOR.config.keystrokes](../symbols/CKEDITOR.config.html#.keystrokes) setting. In this way it is possible to block the default browser behavior for those keystrokes.  
*Defined in:* [plugins/keystrokes/plugin.js](../symbols/src/plugins_keystrokes_plugin.js.html).

```
// This is actually the default value.
config.blockedKeystrokes =
[
    CKEDITOR.CTRL + 66 /*B*/,
    CKEDITOR.CTRL + 73 /*I*/,
    CKEDITOR.CTRL + 85 /*U*/
];
```

Default Value:

(see example)

* * *

[]()

&lt;static&gt; *{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:

''

* * *

[]()

&lt;static&gt; *{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:

''

* * *

[]()

&lt;static&gt; *{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](../symbols/src/plugins_contextmenu_plugin.js.html).

```
config.browserContextMenuOnCtrl = false;
```

Default Value:

true

* * *

[]()

&lt;static&gt; *{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](../symbols/src/plugins_colorbutton_plugin.js.html).

```
// This is basically the default setting value.
config.colorButton_backStyle =
    {
        element : 'span',
        styles : { 'background-color' : '#(color)' }
    };
```

* * *

[]()

&lt;static&gt; *{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](../symbols/src/plugins_colorbutton_plugin.js.html).

```
// 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'

* * *

[]()

&lt;static&gt; *{Boolean}* *CKEDITOR.config.***colorButton\_enableMore**

Since: 3.0