Code Index | File Index

Namespaces

Classes


Namespace CKEDITOR.plugins


Extends CKEDITOR.resourceManager.
Defined in: core/plugins.js.

Field Summary
Field Attributes Field Name and Description
<static>  
CKEDITOR.plugins.sourcearea
Holds the definition of commands an UI elements included with the sourcearea plugin.
Fields borrowed from class CKEDITOR.resourceManager:
basePath, externals, fileName, loaded, registered
Method Summary
Method Attributes Method Name and Description
<static>  
CKEDITOR.plugins.setLang(pluginName, languageCode, languageEntries)
Loads a specific language file, or auto detect it.
Methods borrowed from class CKEDITOR.resourceManager:
add, addExternal, get, getFilePath, getPath, load
Field Detail
<static> {Undefined} CKEDITOR.plugins.sourcearea
Since: 3.0
Holds the definition of commands an UI elements included with the sourcearea plugin.
Defined in: plugins/sourcearea/plugin.js.
Method Detail
<static> {Undefined} CKEDITOR.plugins.setLang(pluginName, languageCode, languageEntries)
Since: 3.0
Loads a specific language file, or auto detect it. A callback is then called when the file gets loaded.
CKEDITOR.plugins.setLang( 'myPlugin', 'en', {
	title : 'My plugin',
	selectOption : 'Please select an option'
} );
Parameters:
{String} pluginName
The name of the plugin to which the provided translation should be attached.
{String} languageCode
The code of the language translation provided.
{Object} languageEntries
An object that contains pairs of label and the respective translation.

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