Upon execution of the ckEditor I want a particular button be already clicked (programmatically).
For example i want the button blockquote be already clicked:
so that when the user opens the ckEditor that function related to blockquote button is already fired. I saw it somewhere, but I don't remember it. It was something like
dialoge.click ='blockquote ' or something
in Config.js add the following:
CKEDITOR.on( 'instanceReady',function(ev) {
ev.editor.execCommand( 'blockquote' );
} );
note: The command is always in lower case. It's 'blockquote' or 'bulletedlist' rather than 'BlackQuote' or 'BulletedList'.