Generic dialog command. It opens a specific dialog when executed.
// Register the "link" command, which opens the "link" dialog. editor.addCommand( 'link', new CKEDITOR.dialogCommand( 'link' ) );
It's important for validate functions to be able to accept the value as argument in addition to this.getValue(), so that it is possible to combine validate functions together to make more sophisticated validators.
Creates a dialogCommand class instance.
- dialogName : String
The name of the dialog to open when executing this command.
- ext : Object (optional)
Additional command definition's properties.