Report an issue
Class

CKEDITOR.styleCommand

class

Generic style command. It applies a specific style when executed.

var boldStyle = new CKEDITOR.style( { element: 'strong' } );
// Register the "bold" command, which applies the bold style.
editor.addCommand( 'bold', new CKEDITOR.styleCommand( boldStyle ) );

Filtering

Methods