CKEditor 4 Documentation

CKEDITOR.ui.menuButton

Hierarchy

CKEDITOR.ui.button
CKEDITOR.ui.menuButton

Files

Defined By

Methods

CKEDITOR.ui.menuButton
view source
new( Object ) : CKEDITOR.ui.menuButton
Creates a menuButton class instance. ...

Creates a menuButton class instance.

Parameters

  • Object : Object

    definition

Returns

Overrides: CKEDITOR.ui.button.constructor

Gets the button state. ...

Gets the button state.

Returns

Renders the button. ...

Renders the button.

Parameters

  • editor : CKEDITOR.editor

    The editor instance which this button is to be used by.

  • output : Array

    The output array to which the HTML code related to this button should be appended.

Sets the button state. ...

Sets the button state.

Parameters

Returns this button's CKEDITOR.feature instance. ...

Returns this button's CKEDITOR.feature instance.

It may be this button instance if it has at least one of allowedContent and requiredContent properties. Otherwise, if a command is bound to this button by the command property, then that command will be returned.

This method implements the CKEDITOR.feature.toFeature interface method.

Available since: 4.1

Parameters

Returns