1 /* 2 Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 For licensing, see LICENSE.html or http://ckeditor.com/license 4 */ 5 6 CKEDITOR.plugins.colordialog = 7 { 8 requires : [ 'dialog' ], 9 init : function( editor ) 10 { 11 editor.addCommand( 'colordialog', new CKEDITOR.dialogCommand( 'colordialog' ) ); 12 CKEDITOR.dialog.add( 'colordialog', this.path + 'dialogs/colordialog.js' ); 13 } 14 }; 15 16 CKEDITOR.plugins.add( 'colordialog', CKEDITOR.plugins.colordialog ); 17