Represents a button UI element. This class should not be called directly. To create new buttons use CKEDITOR.ui.addButton instead.
Creates a button class instance.
- definition : Object
The button definition.
Renders the button.
- 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.
Returns this button's CKEDITOR.feature instance.
It may be this button instance if it has at least one of
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
- Editor : CKEDITOR.editor