Class CKEDITOR.pluginDefinition
Defined in: core/pluginDefinition.js.
Constructor Attributes | Constructor Name and Description |
---|---|
This class is not really part of the API.
|
Method Attributes | Method Name and Description |
---|---|
init(editor, pluginPath)
Function called on initialization of every editor instance created in the
page.
|
Class Detail
CKEDITOR.pluginDefinition()
Since:
3.0
This class is not really part of the API. It just illustrates the features
of plugin objects to passed to the CKEDITOR.plugins.add function.
// Do not do this. var myEvent = new CKEDITOR.pluginDefinition(); // Error: CKEDITOR.pluginDefinition is undefined
Method Detail
{Undefined}
init(editor, pluginPath)
Since:
3.0
Function called on initialization of every editor instance created in the
page.
CKEDITOR.plugins.add( 'sample', { init : function( editor, pluginPath ) { alert( 'Editor "' + editor.name + '" is being initialized!' ); } });
- Parameters:
- {CKEDITOR.editor} editor
- The editor instance being initialized.
- {String} pluginPath
- The URL path for the plugin installation folder.