Report an issue
Class

CKEDITOR.dialog.definition.contentObject

class private

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() → contentObject

    Creates a contentObject class instance.

    Returns

    contentObject
  • add( elementDefinition, nextSiblingId ) → uiElement

    Adds a UI element definition to the content definition.

    Parameters

    elementDefinition : uiElement

    The UI elemnet definition to be added.

    nextSiblingId : String

    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

    uiElement

    The element definition inserted.

  • get( id ) → uiElement

    Gets a UI element definition under the content definition.

    Parameters

    id : String

    The id of the UI element definition.

    Returns

    uiElement
  • remove( id ) → uiElement

    Removes a UI element definition from the content definition.

    Parameters

    id : String

    The id of the UI element definition to be removed.

    Returns

    uiElement

    The element definition removed.