code: function( editor ) {
  		editor.config.smiley_path = editor.config.smiley_path || ( this.path + 'images/' );
  		editor.addCommand( 'smiley', new CKEDITOR.dialogCommand( 'smiley', {
  			allowedContent: 'img[alt,height,!src,title,width]',
  			requiredContent: 'img'
  		} ) );
  		editor.ui.addButton && editor.ui.addButton( 'Smiley', {
  			label: editor.lang.smiley.toolbar,
  			command: 'smiley',
  			toolbar: 'insert,50'
  		} );
  		CKEDITOR.dialog.add( 'smiley', this.path + 'dialogs/smiley.js' );
  	}
docs: %REMOVE_LINE_CORE%