The CKEditorControl type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
CKEditorControl |
Methods
Name | Description | |
---|---|---|
AddAttributesToRender | Adds information about the background image, alignment, wrap, and direction to the list of attributes to render. (Inherited from Panel.) | |
AddedControl | (Inherited from Control.) | |
AddParsedSubObject | Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object. (Inherited from Control.) | |
ApplyStyle | Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers. (Inherited from WebControl.) | |
ApplyStyleSheetSkin | Applies the style properties defined in the page style sheet to the control. (Inherited from Control.) | |
BuildProfileTree | Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page. (Inherited from Control.) | |
ClearCachedClientID | Sets the cached ClientID value to null. (Inherited from Control.) | |
ClearEffectiveClientIDMode | Sets the ClientIDMode property of the current control instance and of any child controls to Inherit. (Inherited from Control.) | |
ClearChildControlState | Deletes the control-state information for the server control's child controls. (Inherited from Control.) | |
ClearChildState | Deletes the view-state and control-state information for all the server control's child controls. (Inherited from Control.) | |
ClearChildViewState | Deletes the view-state information for all the server control's child controls. (Inherited from Control.) | |
ConfigPreRender |
Do stuff that is required to prepare certain config entries,
just before rendering
| |
CopyBaseAttributes | Copies the properties not encapsulated by the Style object from the specified Web server control to the Web server control that this method is called from. This method is used primarily by control developers. (Inherited from WebControl.) | |
CreateControlCollection | Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control. (Inherited from Control.) | |
CreateControlStyle | Creates a style object that is used internally by the Panel control to implement all style related properties. (Inherited from Panel.) | |
CreateChildControls | Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering. (Inherited from Control.) | |
DataBind | Binds a data source to the invoked server control and all its child controls. (Inherited from Control.) | |
DataBind(Boolean) | Binds a data source to the invoked server control and all its child controls with an option to raise the DataBinding event. (Inherited from Control.) | |
DataBindChildren | Binds a data source to the server control's child controls. (Inherited from Control.) | |
Dispose | Enables a server control to perform final clean up before it is released from memory. (Inherited from Control.) | |
EnsureChildControls | Determines whether the server control contains child controls. If it does not, it creates child controls. (Inherited from Control.) | |
EnsureID | Creates an identifier for controls that do not have an identifier assigned. (Inherited from Control.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindControl(String) | Searches the current naming container for a server control with the specified id parameter. (Inherited from Control.) | |
FindControl(String, Int32) | Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the FindControl method. (Inherited from Control.) | |
Focus | Sets input focus to a control. (Inherited from Control.) | |
GetControlClientID |
Gets controls ClientID.
| |
GetDesignModeState | Gets design-time data for a control. (Inherited from Control.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetRouteUrl(Object) | Gets the URL that corresponds to a set of route parameters. (Inherited from Control.) | |
GetRouteUrl(RouteValueDictionary) | Gets the URL that corresponds to a set of route parameters. (Inherited from Control.) | |
GetRouteUrl(String, Object) | Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from Control.) | |
GetRouteUrl(String, RouteValueDictionary) | Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from Control.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUniqueIDRelativeTo | Returns the prefixed portion of the UniqueID property of the specified control. (Inherited from Control.) | |
HasControls | Determines if the server control contains any child controls. (Inherited from Control.) | |
HasEvents | Returns a value indicating whether events are registered for the control or any child controls. (Inherited from Control.) | |
IsLiteralContent | Determines if the server control holds only literal content. (Inherited from Control.) | |
LoadControlState | Restores control-state information from a previous page request that was saved by the SaveControlState method. (Inherited from Control.) | |
LoadPostData |
Processes postback data for an ASP.NET server control.
| |
LoadViewState | Restores view-state information from a previous request that was saved with the SaveViewState method. (Inherited from WebControl.) | |
MapPathSecure | Retrieves the physical path that a virtual path, either absolute or relative, maps to. (Inherited from Control.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MergeStyle | Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers. (Inherited from WebControl.) | |
OnBubbleEvent | Determines whether the event for the server control is passed up the page's UI server control hierarchy. (Inherited from Control.) | |
OnDataBinding | Raises the DataBinding event. (Inherited from Control.) | |
OnInit | Raises the Init event. (Inherited from Control.) | |
OnLoad | Raises the Load event. (Inherited from Control.) | |
OnPreRender |
Controls OnPreRender event.
(Overrides Control OnPreRender(EventArgs).) | |
OnUnload | Raises the Unload event. (Inherited from Control.) | |
OpenFile | Gets a Stream used to read a file. (Inherited from Control.) | |
RaiseBubbleEvent | Assigns any sources of the event and its information to the control's parent. (Inherited from Control.) | |
RaisePostDataChangedEvent |
Signals the server control to notify the ASP.NET application that the state of the control has changed.
| |
RemovedControl | (Inherited from Control.) | |
Render |
Renders the control at design-time.
(Overrides WebControl Render(HtmlTextWriter).) | |
RenderBeginTag | Renders the HTML opening tag of the Panel control to the specified writer. (Inherited from Panel.) | |
RenderContents | Renders the contents of the control to the specified writer. This method is used primarily by control developers. (Inherited from WebControl.) | |
RenderControl(HtmlTextWriter) | Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled. (Inherited from Control.) | |
RenderControl(HtmlTextWriter, ControlAdapter) | Outputs server control content to a provided HtmlTextWriter object using a provided ControlAdapter object. (Inherited from Control.) | |
RenderEndTag | Renders the HTML closing tag of the Panel control into the specified writer. (Inherited from Panel.) | |
RenderChildren | Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client. (Inherited from Control.) | |
ResolveAdapter | Gets the control adapter responsible for rendering the specified control. (Inherited from Control.) | |
ResolveClientUrl | Gets a URL that can be used by the browser. (Inherited from Control.) | |
ResolveUrl | Converts a URL into one that is usable on the requesting client. (Inherited from Control.) | |
SaveControlState | Saves any server control state changes that have occurred since the time the page was posted back to the server. (Inherited from Control.) | |
SaveViewState | Saves any state that was modified after the TrackViewState method was invoked. (Inherited from WebControl.) | |
SetDefaultValues | Obsolete.
Sets default values in the Config.
| |
SetDesignModeState | Sets design-time data for a control. (Inherited from Control.) | |
SetRenderMethodDelegate | Assigns an event handler delegate to render the server control and its content into its parent control. (Inherited from Control.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TrackViewState | Causes the control to track changes to its view state so they can be stored in the object's ViewState property. (Inherited from WebControl.) |
Extension Methods
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Properties
Name | Description | |
---|---|---|
AccessKey | Gets or sets the access key that allows you to quickly navigate to the Web server control. (Inherited from WebControl.) | |
Adapter | Gets the browser-specific adapter for the control. (Inherited from Control.) | |
AppRelativeTemplateSourceDirectory | Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. (Inherited from Control.) | |
Attributes | Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. (Inherited from WebControl.) | |
AutoDetectLanguage |
If true, the language should be automatically detected.
| |
AutoGrowMaxHeight |
The maximum height to which the editor can reach using AutoGrow.
Zero means unlimited.
Default value: 0
| |
AutoGrowMinHeight |
The minimum height to which the editor can reach using AutoGrow.
Default value: 200
| |
AutoUpdateElement |
Whether the replaced element (usually a textarea) is to be
updated automatically when posting the form containing the editor.
Default value: true
| |
BackColor | Gets or sets the background color of the Web server control. (Inherited from WebControl.) | |
BackImageUrl | Gets or sets the URL of the background image for the panel control. (Inherited from Panel.) | |
BaseFloatZIndex |
The base Z-index for floating dialogs and popups.
Default value: 10000
| |
BaseHref |
The base href URL used to resolve relative and
absolute URLs in the editor content.
Default value: empty string
Set to null for default value
| |
BasePath | Sets or gets the virtual path to the editor's directory. The default value is "~/CMSAdminControls/CKEditor/". The base path can be also set in the Web.config file using the appSettings section. Just set the "CKEditor:BasePath" for that. For example: codeconfigurationappSettingsadd key="CKEditor:BasePath" value="/scripts/ckeditor/" //appSettings/configuration/code> | |
BindingContainer | Gets the control that contains this control's data binding. (Inherited from Control.) | |
BlockedKeystrokes |
The keystrokes that are blocked by default as the browser
implementation is buggy. These default keystrokes are handled by the editor.
Default value:
[ CKEDITOR.CTRL + 66, CKEDITOR.CTRL + 73, CKEDITOR.CTRL + 85 ] // CTRL+B,I,U
NOTE: This is a pure javascript value, so be careful not to break things!
Set to null for default value
| |
BodyClass |
Sets the "class" attribute to be used on the body
element of the editing area.
Default value: empty string
Set to null for default value
| |
BodyId |
Sets the "id" attribute to be used on the body
element of the editing area.
Default value: empty string
Set to null for default value
| |
BorderColor | Gets or sets the border color of the Web control. (Inherited from WebControl.) | |
BorderStyle | Gets or sets the border style of the Web server control. (Inherited from WebControl.) | |
BorderWidth | Gets or sets the border width of the Web server control. (Inherited from WebControl.) | |
BrowserContextMenuOnCtrl |
Whether to show the browser native context menu when
the CTRL or the META (Mac) key is pressed while opening
the context menu.
Default value: true
| |
ClientID | Gets the control ID for HTML markup that is generated by ASP.NET. (Inherited from Control.) | |
ClientIDMode | Gets or sets the algorithm that is used to generate the value of the ClientID property. (Inherited from Control.) | |
ClientIDSeparator | Gets a character value representing the separator character used in the ClientID property. (Inherited from Control.) | |
Config |
Container of the CKEditor configuration.
| |
ContentsCss |
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.
This can be a string or a string[] (Array).
Default value: CKEDITOR.basePath + 'contents.css'
Set to null for default value
| |
ContentsLangDirection |
The writing direction of the language used to write the
editor contents.
Allowed values are 'ltr' for Left-To-Right language
(like English), or 'rtl' for Right-To-Left languages (like Arabic).
Default value: ltr (LanguageDirection.LeftToRight)
| |
Context | Gets the HttpContext object associated with the server control for the current Web request. (Inherited from Control.) | |
Controls | Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. (Inherited from Control.) | |
ControlStyle | Gets the style of the Web server control. This property is used primarily by control developers. (Inherited from WebControl.) | |
ControlStyleCreated | Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers. (Inherited from WebControl.) | |
CssClass | Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client. (Inherited from WebControl.) | |
CustomConfig |
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.
Default value: CKEDITOR.basePath + 'config.js'
Set to null for default value
| |
DataIndentationChars |
The characters to be used for indenting the HTML produced by the editor.
Using characters different than ' ' (space) and '\t' (tab) is definitely a bad idea as it'll mess the code.
Default value: '\t'
Set to null for default value
| |
DataItemContainer | Gets a reference to the naming container if the naming container implements IDataItemContainer. (Inherited from Control.) | |
DataKeysContainer | Gets a reference to the naming container if the naming container implements IDataKeysControl. (Inherited from Control.) | |
DefaultButton | Gets or sets the identifier for the default button that is contained in the Panel control. (Inherited from Panel.) | |
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.
Default value: 'en'
Set to null for default value
| |
DesignMode | Gets a value indicating whether a control is being used on a design surface. (Inherited from Control.) | |
DialogBackgroundCoverColor |
The color of the dialog background cover.
It should be a valid CSS color string.
Default value: 'white'
| |
DialogBackgroundCoverOpacity |
The opacity of the dialog background cover.
It should be a number within the range [0.0, 1.0].
Default value: 0.5
| |
DialogButtonsOrder |
The guideline to follow when generating the dialog buttons. There are 3 possible options:
'OS' - the buttons will be displayed in the default order of the user's OS;
'ltr' - for Left-To-Right order;
'rtl' - for Right-To-Left order
Default value: OS
| |
DialogMagnetDistance |
The distance of magnetic borders used in moving and
resizing dialogs, measured in pixels.
Default value: 20
| |
DialogNoConfirmCancel |
Tells if user should not be asked to confirm close, if any dialog field was modified.
By default it is set to false meaning that the confirmation dialog will be shown.
Default value: false
| |
DialogParameters |
Additional parameters for the editor dialogs.
| |
Direction | Gets or sets the direction in which to display controls that include text in a Panel control. (Inherited from Panel.) | |
DisableNativeSpellChecker |
Disables the built-in words spell checker if browser provides one.
Note: Although word suggestions provided by browsers (natively) will not appear in CKEditor's default
context menu, users can always reach the native context menu by holding the Ctrl key when right-clicking
if browserContextMenuOnCtrl is enabled or you're simply not using the context menu plugin.
Default value: true
| |
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.
Default value: true
| |
DisableObjectResizing |
Disables the ability of resize objects (image and tables)
in the editing area.
Default value: false
| |
DisableReadonlyStyling |
Disables inline styling on read-only elements.
Default value: false
| |
DocType |
Sets the DOCTYPE to be used when loading the editor content as HTML.
Default value: '<!DOCTYPE html>'
Set to null for default value
| |
EditingBlock |
Whether to render or not the editing block area in
the editor interface.
Default value: true
| |
EditorAreaCSS |
Editor area CSS.
| |
EmailProtection |
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 chosen:
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.
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.
Default value: empty string = disabled
Set to null for default value
| |
Enabled | Gets or sets a value indicating whether the Web server control is enabled. (Inherited from WebControl.) | |
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. If in the last cell in the table, add a new row to it and focus its first cell.
If SHIFT+TAB is pressed, select the contents of the "previous" cell. Do nothing when it's in the first cell.
Default value: true
| |
EnableTheming | Gets or sets a value indicating whether themes apply to this control. (Inherited from WebControl.) | |
EnableViewState | Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. (Inherited from Control.) | |
EnterMode |
Sets the behavior for the ENTER key.
It also dictates other behavior 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:
* CKEDITOR.ENTER_P (1): new p paragraphs are created; (EnterMode.P)
* CKEDITOR.ENTER_BR (2): lines are broken with br elements; (EnterMode.BR)
* CKEDITOR.ENTER_DIV (3): new div blocks are created. (EnterMode.DIV)
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.
Default value: CKEDITOR.ENTER_P
| |
Entities |
Whether to use HTML entities in the output.
Default value: true
| |
EntitiesAdditional |
A comma separated list of additional entities to be used.
Entity names or numbers must be used in a form that
excludes the '&' prefix and the ';' ending.
Default value: '#39' (The single quote (') character)
Set to null for default value
| |
EntitiesGreek |
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.
Default value: true
| |
EntitiesLatin |
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.
Default value: true
| |
EntitiesProcessNumerical |
Whether to convert all remaining characters,
not comprised in the ASCII character table,
to their relative numeric representation of HTML entity.
For example, the phrase "This is Chinese: 汉语." is outputted
as "This is Chinese: ."
Default value: false
| |
Events | Gets a list of event handler delegates for the control. This property is read-only. (Inherited from Control.) | |
ExtraPlugins |
A list of additional plugins to be loaded. This setting makes it easier
to add new plugins without having to touch plugins setting.
| |
FileBrowserBrowseUrl |
The location of an external file browser that should be launched when the
Browse Server button is pressed. If configured, the Browse Server button
will appear in the Link, Image, and Flash dialog windows.
Default value: empty string = disabled
Set to null for default value
| |
FileBrowserFlashBrowseUrl |
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 FilebrowserBrowseUrl
Default value: empty string = disabled
Set to null for default value
| |
FileBrowserFlashUploadUrl |
The location of the script that handles file uploads in the Flash dialog window.
If not set, CKEditor will use FilebrowserUploadUrl.
Default value: undefined
Set to null for default value
| |
FileBrowserFlashWindowHeight |
The default height of file browser window in CKEditor is set
to 70% of screen height.
If for some reasons, the default values are not suitable for you,
you can change it to any other value.
To set the size of the window in pixels,
just set the number value (e.g. "800").
If you prefer to set height and width of the window
in percentage of the screen, remember to add percent
sign at the end (e.g. "60%").
Default value: undefined (Unit.Empty)
Set to Unit.Empty to reset to default value
| |
FileBrowserFlashWindowWidth |
The default width of file browser window in CKEditor is set
to 80% of screen width.
If for some reasons, the default values are not suitable for you,
you can change it to any other value.
To set the size of the window in pixels,
just set the number value (e.g. "800").
If you prefer to set height and width of the window
in percentage of the screen, remember to add percent
sign at the end (e.g. "60%").
Default value: undefined (Unit.Empty)
Set to Unit.Empty to reset to default value
| |
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.
If not set, CKEditor will use FilebrowserBrowseUrl
Default value: undefined
Set to null for default value
| |
FileBrowserImageBrowseUrl |
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 FilebrowserBrowseUrl
Default value: undefined
Set to null for default value
| |
FileBrowserImageUploadUrl |
The location of a script that handles file uploads in the Image dialog.
If not set, CKEditor will use FileBrowserUploadUrl
Default value: undefined
Set to null for default value
| |
FileBrowserImageWindowHeight |
The default height of file browser window in CKEditor is set
to 70% of screen height.
If for some reasons, the default values are not suitable for you,
you can change it to any other value.
To set the size of the window in pixels,
just set the number value (e.g. "800").
If you prefer to set height and width of the window
in percentage of the screen, remember to add percent
sign at the end (e.g. "60%").
Default value: undefined (Unit.Empty)
Set to Unit.Empty to reset to default value
| |
FileBrowserImageWindowWidth |
The default width of file browser window in CKEditor is set
to 80% of screen width.
If for some reasons, the default values are not suitable for you,
you can change it to any other value.
To set the size of the window in pixels,
just set the number value (e.g. "800").
If you prefer to set height and width of the window
in percentage of the screen, remember to add percent
sign at the end (e.g. "60%").
Default value: undefined (Unit.Empty)
Set to Unit.Empty to reset to default value
| |
FileBrowserLinkBrowseUrl |
The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Link dialog.
If not set, CKEditor will use see cref="CKEDITOR.config.filebrowserBrowseUrl"/
Default value: undefined
Set to null for default value
| |
FileBrowserLinkUploadUrl |
The location of a script that handles file uploads in the Link dialog.
If not set, CKEditor will use see cref="CKEDITOR.config.filebrowserUploadUrl"/
Default value: undefined
Set to null for default value
| |
FileBrowserLinkWindowHeight |
The default height of file browser window in CKEditor is set
to 70% of screen height.
If for some reasons, the default values are not suitable for you,
you can change it to any other value.
To set the size of the window in pixels,
just set the number value (e.g. "800").
If you prefer to set height and width of the window
in percentage of the screen, remember to add percent
sign at the end (e.g. "60%").
Default value: undefined (Unit.Empty)
Set to Unit.Empty to reset to default value
| |
FileBrowserLinkWindowWidth |
The default width of file browser window in CKEditor is set
to 80% of screen width.
If for some reasons, the default values are not suitable for you,
you can change it to any other value.
To set the size of the window in pixels,
just set the number value (e.g. "800").
If you prefer to set height and width of the window
in percentage of the screen, remember to add percent
sign at the end (e.g. "60%").
Default value: undefined (Unit.Empty)
Set to Unit.Empty to reset to default value
| |
FileBrowserUploadUrl |
The location of the script that handles file uploads.
If set, the Upload tab will appear in the Link, Image, and Flash dialog windows.
It is also possible to set a separate url for a selected dialog box,
using the dialog name in file browser settings: filebrowser[dialogName]UploadUrl.
Default value: undefined
Set to null for default value
| |
FileBrowserWindowFeatures |
The "features" to use in the file browser popup window.
Default value: "location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes"
Set to null for default value
| |
FileBrowserWindowHeight |
The height of the file browser popup window.
Default value: 70%
| |
FileBrowserWindowWidth |
The width of the file browser popup window.
Default value: 80%
| |
FillEmptyBlocks |
Whether a filler text (non-breaking space entity — ) will be inserted into
empty block elements in HTML output. This is used to render block elements properly
with line-height. When a function is specified instead, it will be
passed a CKEDITOR.htmlParser.element to decide whether adding the
filler text by expecting a Boolean return value.
Default value: true
| |
FindHighlight |
Defines the style to be used to highlight results with the find dialog.
NOTE: This is a pure javascript value, so be careful not to break things!
Default value: {element: 'span', styles: {'background-color': '#004', color: '#fff'}}
Set to null for default value
| |
FixXHTML |
If true, the editor fixes output HTML code to XHTML.
| |
Font | Gets the font properties associated with the Web server control. (Inherited from WebControl.) | |
FontDefaultLabel |
The text to be displayed in the Font combo if none of the
available values matches the current cursor position or text
selection.
Default value empty string
Set to null for default value
| |
FontNames |
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'.
Default value: "Arial/Arial, Helvetica, sans-serif;Comic Sans MS/Comic Sans MS, cursive;Courier New/Courier New, Courier,
monospace;Georgia/Georgia, serif;Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande,
sans-serif;Tahoma/Tahoma, Geneva, sans-serif;Times New Roman/Times New Roman, Times,
serif;Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;Verdana/Verdana, Geneva, sans-serif"
Set to null for default value
| |
FontSizeDefaultLabel |
The text to be displayed in the Font Size combo if none of the
available values matches the current cursor position or text
selection.
Default value: empty string
Set to null for default value
| |
FontSizeSizes |
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'.
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"
Set to null for default value
| |
FontSizeStyle |
The style definition to be used to apply the font size in the text.
Default value:
{
element : 'span',
styles : { 'font-size' : '#(size)' },
overrides : [ { element : 'font', attributes : { 'size' : null } } ]
}
Set to null for default value
| |
FontStyle |
The style definition to be used to apply the font in the text.
Default value:
{
element : 'span',
styles : { 'font-family' : '#(family)' },
overrides : [ { element : 'font', attributes : { 'face' : null } } ]
}
Set to null for default value
| |
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.
Note: paste from word (dialog) is not affected by this configuration.
Default value: false
| |
ForceSimpleAmpersand |
Whether to force using '&' instead of '&' 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).
Default value: false
| |
ForeColor | Gets or sets the foreground color (typically the color of the text) of the Web server control. (Inherited from WebControl.) | |
FormatAddress |
The style definition to be used to apply the "Address" format.
Default value: { element: 'address' }
Set to null for default value
| |
FormatDiv |
The style definition to be used to apply the "Normal (DIV)" format.
Default value: {element:'div'}
Set to null for default value
| |
FormatH1 |
The style definition to be used to apply the "Heading 1" format.
Default value: { element: 'h1' }
Set to null for default value
| |
FormatH2 |
The style definition to be used to apply the "Heading 2" format.
Default value: { element: 'h2' }
Set to null for default value
| |
FormatH3 |
The style definition to be used to apply the "Heading 3" format.
Default value: { element: 'h3' }
Set to null for default value
| |
FormatH4 |
The style definition to be used to apply the "Heading 4" format.
Default value: { element: 'h4' }
| |
FormatH5 |
The style definition to be used to apply the "Heading 5" format.
Default value: { element: 'h5' }
Set to null for default value
| |
FormatH6 |
The style definition to be used to apply the "Heading 6" format.
Default value: { element: 'h6' }
Set to null for default value
| |
FormatP |
The style definition to be used to apply the "Normal" format.
Default value: { element: 'p' }
Set to null for default value
| |
FormatPre |
The style definition to be used to apply the "Formatted" format.
Default value: { element: 'pre' }
Set to null for default value
| |
FormatTags |
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.
Default value: "p;h1;h2;h3;h4;h5;h6;pre;address;div"
Set to null for default value
| |
FormatURL |
If true, the editor runs the URL formatting.
| |
FullPage |
Indicates whether the contents to be edited are being input as a full
HTML page. A full page includes the <html>, <head>, and <body>
elements. The final output will also reflect this setting, including
the <body> contents only if this setting is disabled.
Default value: false
| |
GroupingText | Gets or sets the caption for the group of controls that is contained in the panel control. (Inherited from Panel.) | |
HasAttributes | Gets a value indicating whether the control has attributes set. (Inherited from WebControl.) | |
HasChildViewState | Gets a value indicating whether the current server control's child controls have any saved view-state settings. (Inherited from Control.) | |
Height |
The height of the editing area (that includes the editor content).
This can be an integer, for pixel sizes, or any CSS-defined length unit.
Note: Percentage unit is not supported yet. e.g. 30%.
Default value: "200"
(Overrides WebControl Height.) | |
HorizontalAlign | Gets or sets the horizontal alignment of the contents within the panel. (Inherited from Panel.) | |
HtmlEncodeOutput |
Whether escape HTML when editor update original input element.
Default value: false
| |
ChildControlsCreated | Gets a value that indicates whether the server control's child controls have been created. (Inherited from Control.) | |
ID | Gets or sets the programmatic identifier assigned to the server control. (Inherited from Control.) | |
IdSeparator | Gets the character used to separate control identifiers. (Inherited from Control.) | |
IgnoreEmptyParagraph |
Whether the editor must output an empty value (empty string) if
it's contents is made by an empty paragraph only.
Default value: true
| |
ImageRemoveLinkByEmptyURL |
Whether to remove links when emptying the link URL field
in the image dialog.
Default value: true
| |
IsEnabled | Gets a value indicating whether the control is enabled. (Inherited from WebControl.) | |
IsChildControlStateCleared | Gets a value indicating whether controls contained within this control have control state. (Inherited from Control.) | |
IsLiveSite |
Indicates if CKEditor is on live site.
| |
IsTrackingViewState | Gets a value that indicates whether the server control is saving changes to its view state. (Inherited from Control.) | |
IsViewStateEnabled | Gets a value indicating whether view state is enabled for this control. (Inherited from Control.) | |
Keystrokes |
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.
Default value:
[
[ 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' ]
]
Set to null for default value
NOTE: This is a pure javascript value, so be careful not to break things!
Set to null for default value
| |
Language |
The user interface language localization to use. If left empty, the
editor will automatically be localized to the user language. If the
user language is not supported, the language specified in the
defaultLanguage configuration setting is used.
Default value: empty string
Set to null for default value
| |
LinkDialogConfig |
Link dialog configuration.
| |
LoadViewStateByID | Gets a value indicating whether the control participates in loading its view state by ID instead of index. (Inherited from Control.) | |
MediaDialogConfig |
Media dialog configuration.
| |
MenuGroups |
A comma separated list of items group names to be
displayed in the context menu. The order of items will
reflect the order specified in this list if no priority was
defined in the groups.
Default value: 'clipboard,table,anchor,link,image'
Set to null for default value
| |
MenuSubMenuDelay |
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.
Default value: 400
| |
NamingContainer | Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value. (Inherited from Control.) | |
NewpageHtml |
The HTML to load in the editor when the "new page" command
is executed.
Default value: empty string
Set to null for default value
| |
ObjectID |
Returns the object name of the CKEditor instance, to be used in javascript.
| |
Page | Gets a reference to the Page instance that contains the server control. (Inherited from Control.) | |
Parent | Gets a reference to the server control's parent control in the page control hierarchy. (Inherited from Control.) | |
PasteFromWordCleanupFile |
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.
Default value: <plugin path> + 'filter/default.js'
Set to null for default value
| |
PasteFromWordNumberedHeadingToList |
Whether to transform MS Word outline numbered headings into lists.
Default value: false
| |
PasteFromWordPromptCleanup |
Whether to prompt the user about the clean up of content being pasted from MS Word.
Default value: false
| |
PasteFromWordRemoveFontStyles |
Whether to ignore all font related formatting styles, including:
* font size;
* font family;
* font foreground/background color.
Default value: false
| |
PasteFromWordRemoveStyles |
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 pasteFromWordRemoveFontStyles setting instead.
Default value: false
| |
Plugins |
Comma separated list of plugins to be used for an editor
instance, besides, the actual plugins that to be loaded could
be still affected by two other settings: extraPlugins and removePlugins.
Default value: "<default list of plugins>"
Set to null for default value
| |
ProtectedSource |
List of regular expressions to be executed over the input HTML,
indicating code that must stay untouched.
Default value: [] (empty array)
Set to null for default value
NOTE: This is a pure javascript value, so be careful not to break things!
Set to null for default value
| |
QuickInsertConfig |
Quickly insert media configuration.
| |
RemoveButtons |
List of toolbar button names that must not be rendered.
This will work as well for non-button toolbar items, like the Font combos.
Remarks | |
RemoveDialogTabs |
The dialog contents to removed. It's a string composed by
dialog name and tab name with a colon between them.
Separate each pair with semicolon.
Note: All names are case-sensitive.
Note: Be cautious when specifying dialog tabs that are
mandatory, like 'info', dialog functionality might be broken because of this!
Default value: empty string
Set to null for default value
| |
RemoveFormatAttributes |
A comma separated list of elements attributes to be
removed when executing the "remove format" command.
Default value: "class,style,lang,width,height,align,hspace,valign"
Set to null for default value
| |
RemoveFormatTags |
A comma separated list of elements to be removed when
executing the remove format command. Note that only
inline elements are allowed.
Default value: "b,big,code,del,dfn,em,font,i,ins,kbd,q,s,samp,small,span,strike,strong,sub,sup,tt,u,var"
Set to null for default value
| |
RemovePlugins |
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,
without having to touch it and potentially breaking it.
| |
RenderingCompatibility | Gets a value that specifies the ASP.NET version that rendered HTML will be compatible with. (Inherited from Control.) | |
ResizeDir |
The dimensions for which the editor resizing is enabled.
Possible values are both, vertical, and horizontal.
Default value: vertical
| |
ResizeEnabled |
Whether to enable the resizing feature.
If this feature is disabled, the resize handle will not be visible.
Default value: true
| |
ResizeMaxHeight |
The maximum editor height, in pixels, when resizing it with
the resize handle.
Default value: 3000
| |
ResizeMaxWidth |
The maximum editor width, in pixels, when resizing it
with the resize handle.
Default value: 3000
| |
ResizeMinHeight |
The minimum editor height, in pixels, when resizing the
editor interface by using the resize handle. Note: It falls back
to editor's actual height if it is smaller than the default value.
Default value: 250
| |
ResizeMinWidth |
The minimum editor width, in pixels, when resizing the editor
interface by using the resize handle. Note: It falls back
to editor's actual width if it is smaller than the default value.
Default value: 750
| |
ResolvedValue |
Resolved editor content.
| |
ResolverName |
Resolver name used in "Insert macro" plugin.
| |
ScaytAutoStartup |
If enabled (set to true), turns on SCAYT automatically after loading the editor.
Default value: false
| |
ScaytContextCommands |
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 ("|"):
"off": disables all options.
"all": enables all options.
"ignore": enables the "Ignore" option.
"ignoreall": enables the "Ignore All" option.
"add": enables the "Add Word" option.
Default value: "all"
Set to null for default value
| |
ScaytContextMenuItemsOrder |
Defines the order SCAYT context menu items by groups.
This must be a string with one or more of the following
words separated by a pipe character ('|'):
suggest – main suggestion word list,
moresuggest – more suggestions word list,
control – SCAYT commands, such as "Ignore" and "Add Word".
Default value: "suggest|moresuggest|control"
Set to null for default value
| |
ScaytCustomDictionaryIds |
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 .
Example: Scayt_CustomDictionaryIds = "3021,3456,3478";
Default value: empty string
Set to null for default value
| |
ScaytCustomerid |
Sets the customer ID for SCAYT.
Required for migration from free version with banner to paid version.
Further details at http://wiki.spellchecker.net/doku.php?id=custom_dictionary_support .
Default value: empty string
Set to null for default value
| |
ScaytMaxSuggestions |
Defines the number of SCAYT suggestions to show in the main context menu.
Possible values are:
0 (zero) – All suggestions are displayed in the main context menu.
Positive number – The maximum number of suggestions to show in the
context menu. Other entries will be shown in the "More Suggestions" sub-menu.
Negative number – No suggestions are shown in the main context menu. All
entries will be listed in the the "Suggestions" sub-menu.
Default value: 5
| |
ScaytMoreSuggestions |
Enables/disables the "More Suggestions" sub-menu in the context
menu. Possible values are 'on' and 'off'.
Default value: "on"
| |
ScaytSLang |
Sets the default spell checking language for SCAYT.
Possible values are: 'en_US', 'en_GB', 'pt_BR', 'da_DK', 'nl_NL',
'en_CA', 'fi_FI', 'fr_FR', 'fr_CA', 'de_DE', 'el_GR',
'it_IT', 'nb_NO', 'pt_PT', 'es_ES', 'sv_SE'.
Default value: "en_US"
Set to null for default value
| |
ScaytSrcUrl |
Sets the URL to SCAYT core. Required to switch to
the licensed version of SCAYT application.
Further details available at http://wiki.webspellchecker.net/doku.php?id=migration:hosredfreetolicensedck
Default value: empty string
Set to null for default value
| |
ScaytUiTabs |
Sets the visibility of particular tabs in the SCAYT dialog window
and toolbar button. This setting must contain a 1 (enabled)
or 0 (disabled) value for each of the following entries, in
this precise order, separated by a
comma (','): 'Options', 'Languages', and 'Dictionary'.
Default value: "1,1,1"
Set to null for default value
| |
ScaytUserDictionaryName |
Makes it possible to activate a custom dictionary in SCAYT.
The user dictionary name must be used.
Available only for the licensed version.
Default value: empty string
Set to null for default value
| |
ScrollBars | Gets or sets the visibility and position of scroll bars in a Panel control. (Inherited from Panel.) | |
SharedSpacesBottom |
Shared spaces bottom.
Default value: empty string
| |
SharedSpacesBottomClientID |
Shared spaces bottom ClientID.
Default value: empty string
| |
SharedSpacesTop |
Shared spaces top.
Default value: empty string
| |
SharedSpacesTopClientID |
Shared spaces top ClientID.
Default value: empty string
| |
ShiftEnterMode |
Similarly to the enterMode setting, it defines the behavior
of the Shift+Enter key combination.
Default value: EnterMode.BR
| |
Site | Gets information about the container that hosts the current control when rendered on a design surface. (Inherited from Control.) | |
Skin |
The editor skin name. Note that it is not possible to have
editors with different skin settings in the same page. In
such case just one of the skins will be used for all editors.
This is a shortcut to CKEDITOR.skinName.
It is possible to install skins outside the default skin folder in
the editor installation. In that case, the absolute URL path to
that folder should be provided, separated by a comma ('skin_name,skin_path').
Default value: "moono"
Set to null for default value
| |
SkinID | Gets or sets the skin to apply to the control. (Inherited from WebControl.) | |
SmileyColumns |
The number of columns to be generated by the smilies matrix.
Default value: 8
| |
SmileyDescriptions |
The description to be used for each of the smilies
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.
Default value:
{'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise', 'indecision', 'angry', 'angel',
'cool', 'devil', 'crying', 'enlightened', 'no', 'yes', 'heart', 'broken heart', 'kiss', 'mail' }
| |
SmileyImages |
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.
Default value:
{'regular_smile.png', 'sad_smile.png', 'wink_smile.png', 'teeth_smile.png', 'confused_smile.png',
'tongue_smile.png', 'embarrassed_smile.png', 'omg_smile.png', 'whatchutalkingabout_smile.png',
'angry_smile.png', 'angel_smile.png', 'shades_smile.png', 'devil_smile.png', 'cry_smile.png',
'lightbulb.png', 'thumbs_down.png', 'thumbs_up.png', 'heart.png', 'broken_heart.png', 'kiss.png', 'envelope.png'}
| |
SmileyPath |
The base path used to build the URL for the smiley images.
It must end with a slash.
Default value: CKEDITOR.basePath + 'plugins/smiley/images/'
Set to null for default value
| |
SourceAreaTabSize |
Controls CSS tab-size property of the sourcearea view.
Works only with dataIndentationChars set to '\t'.
Please consider that not all browsers support CSS tab-size property yet.
Default value: 4
| |
StartingPath |
Starting path (for the content section).
| |
StartupFocus |
Sets whether an editable element should have focus when the editor is loading for the first time.
Default value: false
| |
StartupMode |
The mode to load at the editor startup.
It depends on the plugins loaded.
By default, the "wysiwyg" and "source" modes are available.
Default value: "wysiwyg"
Set to null for default value
| |
StartupOutlineBlocks |
Whether to automatically enable the "show block" command
when the editor loads.
Default value: false
| |
Style | Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control. (Inherited from WebControl.) | |
StylesSet |
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.js file will be loaded
from the CKEditor root folder (what ensures backward compatibility with CKEditor 4.0).
Otherwise, this setting has the name:url syntax, making it possible to set the URL from which loading the styles file.
Note that the name has to be equal to the name used in CKEDITOR.stylesSet.add while registering styles set.
Default value: 'default'
Examples:
// Load from the styles' styles folder (mystyles.js file).
StylesSet = "mystyles";
// Load from a relative URL.
StylesSet = "mystyles:/editorstyles/styles.js";
// Load from a full URL.
StylesSet = "mystyles:http://www.example.com/editorstyles/styles.js";
// Load from a list of definitions.
StylesSet = [
{ name : 'Strong Emphasis', element : 'strong' },
{ name : 'Emphasis', element : 'em' }, ... ];
Set to null for default value
| |
SupportsDisabledAttribute | Gets a value that indicates whether the control should set the disabled attribute of the rendered HTML element to "disabled" when the control's IsEnabled property is false. (Inherited from Panel.) | |
TabIndex |
The editor tabindex value.
Default value: 0 (zero)
(Overrides WebControl TabIndex.) | |
TabSpaces |
Instructs the editor to add a number of spaces ( ) 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.
Default value: 0
| |
TagKey | Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers. (Inherited from WebControl.) | |
TagName | Gets the name of the control tag. This property is used primarily by control developers. (Inherited from WebControl.) | |
TemplateControl | Gets or sets a reference to the template that contains this control. (Inherited from Control.) | |
Templates |
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.
Default value: "default"
Set to null for default value
| |
TemplatesFiles |
The list of templates definition files to load.
Default value: Array of "plugins/templates/templates/default.js"
| |
TemplateSourceDirectory | Gets the virtual directory of the Page or UserControl that contains the current server control. (Inherited from Control.) | |
TemplatesReplaceContent |
Whether the "Replace actual contents" checkbox
is checked by default in the Templates dialog.
Default value: true
| |
Theme |
The theme to be used to build the UI.
Default value: "default"
Set to null for default value
| |
Title |
Customizes the human-readable title of this editor. This title
is displayed in tooltips and impacts various accessibility
aspects, e.g. it is commonly used by screen readers for
distinguishing editor instances and for navigation.
Accepted values are a string or false.
Note: When config.title is set globally, the same value
will be applied to all editor instances loaded with this
config. This may severely affect accessibility as screen
reader users will be unable to distinguish particular
editor instances and navigate between them.
Note: Setting config.title = false may also impair
accessibility in a similar way.
Note: Please do not confuse this property with
CKEDITOR.editor.name which identifies the instance
in the CKEDITOR.instances literal.
Default value: based on editor.name
Set to null for default value
| |
Toolbar |
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.
If set to null, generate toolbar automatically using all available buttons
and toolbarGroups as a toolbar groups layout.
Value type: This is pure javascript, so be careful with it!
You can easily break that code if you do not escape characters or
you misplace an important character.
Default value: null
Set to null for default value
| |
ToolbarBasic |
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 Toolbar setting, so you instruct the
editor which toolbar_(name) setting to you.
Default value:
[
['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'InsertLink', 'Unlink']
];
Set to null for default value
NOTE: This is a pure javascript value, so be careful not to break things!
Set to null for default value
| |
ToolbarCanCollapse |
Whether the toolbar can be collapsed by the user.
If disabled, the collapser button will not be displayed.
Default value: false
| |
ToolbarFull |
This is the default toolbar definition used by the editor. It contains all editor features.
Default value:
[
['Source', '-'],
['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', 'Scayt', '-'],
['Undo', 'Redo', 'Find', 'Replace', 'RemoveFormat', '-'],
['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-'],
['NumberedList', 'BulletedList', 'Outdent', 'Indent', 'Blockquote', 'CreateDiv', '-'],
['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-'],
['InsertLink', 'Unlink', 'Anchor', '-'],
['InsertImageOrMedia', 'QuicklyInsertImage', 'Table', 'HorizontalRule', 'SpecialChar', '-'],
['InsertForms', 'InsertPolls', 'InsertRating', 'InsertYouTubeVideo', 'InsertWidget', '-'],
['Styles', 'Format', 'Font', 'FontSize'],
['TextColor', 'BGColor', '-'],
['InsertMacro', '-'],
['Maximize', 'ShowBlocks']
];
Set to null for default value
NOTE: This is a pure javascript value, so be careful not to break things!
Set to null for default value
| |
ToolbarLocation |
The "UI space" to which rendering the toolbar.
For the default editor implementation, the recommended options are 'top' and 'bottom'.
Default value: 'top'
| |
ToolbarSet |
Toolbar set.
| |
ToolbarStartupExpanded |
Whether the toolbar must start expanded when the editor is loaded.
Setting this option to false will affect toolbar only when ToolbarCanCollapse is set to true.
Default value: true
| |
ToolTip | Gets or sets the text displayed when the mouse pointer hovers over the Web server control. (Inherited from WebControl.) | |
UIColor |
The base user interface color to be used by the editor. Not all skins are compatible with this setting.
| |
UndoStackSize |
The number of undo steps to be saved. The higher this setting value the more memory is used for it.
Default value: 20
| |
UniqueID | Gets the unique, hierarchically qualified identifier for the server control. (Inherited from Control.) | |
UrlDialogConfig |
URL dialog configuration.
| |
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".
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.
Default value: true
| |
UseInlineMode |
Indicates whether CKEditor is used in inline mode. This property is set to config manually, because its needed earlier then custom config is built.
| |
UseValueDirtyBit |
Gets or sets the value that indicates whether dirty bit should be used for value property
If this bit is true, value is not forcibly loaded after postback if value was set
| |
Value |
The HTML content of the editor.
| |
ViewState | Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. (Inherited from Control.) | |
ViewStateIgnoresCase | Gets a value that indicates whether the StateBag object is case-insensitive. (Inherited from Control.) | |
ViewStateMode | Gets or sets the view-state mode of this control. (Inherited from Control.) | |
Visible | Gets or sets a value that indicates whether a server control is rendered as UI on the page. (Inherited from Control.) | |
Width |
The editor width in CSS size format or pixel integer.
Default value: empty (Unit.Empty)
Set to Unit.Empty to reset to default value
(Overrides WebControl Width.) | |
Wrap | Gets or sets a value indicating whether the content wraps within the panel. (Inherited from Panel.) |
Events
Name | Description | |
---|---|---|
DataBinding | Occurs when the server control binds to a data source. (Inherited from Control.) | |
Disposed | Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from Control.) | |
Init | Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from Control.) | |
Load | Occurs when the server control is loaded into the Page object. (Inherited from Control.) | |
PreRender | Occurs after the Control object is loaded but prior to rendering. (Inherited from Control.) | |
Unload | Occurs when the server control is unloaded from memory. (Inherited from Control.) |
See Also