code: function( editor ) {
  		var cmd = new CKEDITOR.dialogCommand( 'colordialog' );
  		cmd.editorFocus = false;
  
  		editor.addCommand( 'colordialog', cmd );
  
  		CKEDITOR.dialog.add( 'colordialog', this.path + 'dialogs/colordialog.js' );
  
  		/**
  		 * Open up color dialog and to receive the selected color.
  		 *
  		 * @param {Function} callback The callback when color dialog is closed
  		 * @param {String} callback.color The color value received if selected on the dialog.
  		 * @param [scope] The scope in which the callback will be bound.
  		 * @member CKEDITOR.editor
  		 */
  		editor.getColorFromDialog = function( callback, scope ) {
  			var onClose = function( evt ) {
  				releaseHandlers( this );
  				var color = evt.name == 'ok' ? this.getValueOf( 'picker', 'selectedColor' ) : null;
  				callback.call( scope, color );
  			};
  			var releaseHandlers = function( dialog ) {
  				dialog.removeListener( 'ok', onClose );
  				dialog.removeListener( 'cancel', onClose );
  			};
  			var bindToDialog = function( dialog ) {
  				dialog.on( 'ok', onClose );
  				dialog.on( 'cancel', onClose );
  			};
  
  			editor.execCommand( 'colordialog' );
  
  			if ( editor._.storedDialogs && editor._.storedDialogs.colordialog )
  				bindToDialog( editor._.storedDialogs.colordialog );
  			else {
  				CKEDITOR.on( 'dialogDefinition', function( e ) {
  					if ( e.data.name != 'colordialog' )
  						return;
  
  					var definition = e.data.definition;
  
  					e.removeListener();
  					definition.onLoad = CKEDITOR.tools.override( definition.onLoad,
  						function( orginal ) {
  							return function() {
  								bindToDialog( this );
  								definition.onLoad = orginal;
  								if ( typeof orginal == 'function' )
  									orginal.call( this );
  							};
  						} );
  				} );
  			}
  		};
  
  
  	}
docs: %REMOVE_LINE_CORE%