CKEDITOR.dialog.definition.contentObject
classprivate
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' );
// ...
} );
Filtering
Methods
constructor() → contentObjectCKEDITOR.dialog.definition.contentObject#constructoradd( elementDefinition, nextSiblingId ) → uiElementCKEDITOR.dialog.definition.contentObject#addAdds a UI element definition to the content definition.
Parameters
elementDefinition : uiElementThe UI elemnet definition to be added.
nextSiblingId : StringThe 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
uiElementThe element definition inserted.
get( id ) → uiElementCKEDITOR.dialog.definition.contentObject#getGets a UI element definition under the content definition.
Parameters
id : StringThe id of the UI element definition.
Returns
uiElement
remove( id ) → uiElementCKEDITOR.dialog.definition.contentObject#removeRemoves a UI element definition from the content definition.
Parameters
id : StringThe id of the UI element definition to be removed.
Returns
uiElementThe element definition removed.