tinymce.CommandEvent

Inheritance
This class is the event object send when the BeforeExecCommand and ExecCommand event occurs.

Examples

tinymce.activeEditor.on('ExecCommand', function(e) {
    console.log(e.command, e.ui, e.value);
});

Properties

Property Defined By
Name of the command to execute
tinymce.CommandEvent
The event type name for example "click"
tinymce.Event
User interface state
tinymce.CommandEvent
Value object for the execCommand call
tinymce.CommandEvent

Methods

Method Defined By
Returns true/false if the default action is to be prevented or not
tinymce.Event
Returns true/false if the event immediate propagation is stopped or not
tinymce.Event
Returns true/false if the event propagation is stopped or not
tinymce.Event
Prevents the default action of an event to be executed
tinymce.Event
Prevents the event from propagating to listeners on the same object
tinymce.Event
Stops the event from propagating up to listeners on parent objects
tinymce.Event