Sha256: 9444ab97704ced083fc0a161d65d2a6542c0cbfba90b6acd1f749cc15f281661

Contents?: true

Size: 976 Bytes

Versions: 88

Compression:

Stored size: 976 Bytes

Contents

/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.plugins.add( 'uicolor',
{
	requires : [ 'dialog' ],
	lang : [ 'en', 'he' ],

	init : function( editor )
	{
		if ( CKEDITOR.env.ie6Compat )
			return;

		editor.addCommand( 'uicolor', new CKEDITOR.dialogCommand( 'uicolor' ) );
		editor.ui.addButton( 'UIColor',
			{
				label : editor.lang.uicolor.title,
				command : 'uicolor',
				icon : this.path + 'uicolor.gif'
			});
		CKEDITOR.dialog.add( 'uicolor', this.path + 'dialogs/uicolor.js' );

		// Load YUI js files.
		CKEDITOR.scriptLoader.load( CKEDITOR.getUrl(
			'_source/' + // @Packager.RemoveLine
			'plugins/uicolor/yui/yui.js'
		));

		// Load YUI css files.
		editor.element.getDocument().appendStyleSheet( CKEDITOR.getUrl(
				'_source/' + // @Packager.RemoveLine
				'plugins/uicolor/yui/assets/yui.css'
		));
	}
} );

Version data entries

88 entries across 85 versions & 9 rubygems

Version Path
classiccms-0.7.5 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.7.4 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.7.3 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.7.2 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.7.1 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.7.0 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.6.9 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.6.8 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.6.7 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.6.6 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.6.5 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.6.4 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.6.3 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.6.2 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.6.1 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.6.0 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.17 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.16 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.15 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.14 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js