Class CKEDITOR.dialog.definition.contentObject
Defined in: plugins/dialog/plugin.js.
Constructor Attributes | Constructor Name and Description |
---|---|
This class is not really part of the API.
|
Method Attributes | Method Name and Description |
---|---|
add(elementDefinition, nextSiblingId)
Adds a UI element definition to the content definition.
|
|
get(id)
Gets a UI element definition under the content definition.
|
|
remove(id)
Removes a UI element definition from the content definition.
|
Class Detail
CKEDITOR.dialog.definition.contentObject()
Since:
3.0
This class is not really part of the API. It is the template of the
objects representing content pages inside the
CKEDITOR.dialog.definitionObject.
CKEDITOR.on( 'dialogDefinition', function( evt ) { var definition = evt.data.definition; var content = definition.getContents( 'page1' ); content.remove( 'textInput1' ); ... } );
Method Detail
{CKEDITOR.dialog.definition.uiElement}
add(elementDefinition, nextSiblingId)
Since:
3.0
Adds a UI element definition to the content definition.
NO EXAMPLE AVAILABLE
- Parameters:
- {CKEDITOR.dialog.definition.uiElement} elementDefinition
- The UI elemnet definition to be added.
- {String} nextSiblingId
- The id of an existing UI element definition which the new UI element definition will be inserted before. Omit if the new button definition is to be inserted as the last item.
- Returns:
- {CKEDITOR.dialog.definition.uiElement} The element definition inserted.
{CKEDITOR.dialog.definition.uiElement}
get(id)
Since:
3.0
Gets a UI element definition under the content definition.
NO EXAMPLE AVAILABLE
- Parameters:
- {String} id
- The id of the UI element definition.
- Returns:
- {CKEDITOR.dialog.definition.uiElement}
{CKEDITOR.dialog.definition.uiElement}
remove(id)
Since:
3.0
Removes a UI element definition from the content definition.
- Parameters:
- {String} id
- The id of the UI element definition to be removed.
- Returns:
- {CKEDITOR.dialog.definition.uiElement} The element definition removed.