--- /dev/null
+/*\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
+For licensing, see LICENSE.html or http://ckeditor.com/license\r
+*/\r
+\r
+CKEDITOR.plugins.add( 'uicolor',\r
+{\r
+ requires : [ 'dialog' ],\r
+ lang : [ 'en', 'he' ],\r
+\r
+ init : function( editor )\r
+ {\r
+ if ( CKEDITOR.env.ie6Compat )\r
+ return;\r
+\r
+ editor.addCommand( 'uicolor', new CKEDITOR.dialogCommand( 'uicolor' ) );\r
+ editor.ui.addButton( 'UIColor',\r
+ {\r
+ label : editor.lang.uicolor.title,\r
+ command : 'uicolor',\r
+ icon : this.path + 'uicolor.gif'\r
+ });\r
+ CKEDITOR.dialog.add( 'uicolor', this.path + 'dialogs/uicolor.js' );\r
+\r
+ // Load YUI js files.\r
+ CKEDITOR.scriptLoader.load( CKEDITOR.getUrl(\r
+ '_source/' + // @Packager.RemoveLine\r
+ 'plugins/uicolor/yui/yui.js'\r
+ ));\r
+\r
+ // Load YUI css files.\r
+ editor.element.getDocument().appendStyleSheet( CKEDITOR.getUrl(\r
+ '_source/' + // @Packager.RemoveLine\r
+ 'plugins/uicolor/yui/assets/yui.css'\r
+ ));\r
+ }\r
+} );\r