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.5.13 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.12 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.11 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.10 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.9 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
radiant-ck_editor_filter-extension-0.2.7 public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.8 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.7 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.6 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.5 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.2 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.1 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.5.0 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.4.2 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.4.1 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.4.0 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.3.9 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
radiant-ck_editor_filter-extension-0.2.6 public/javascripts/extensions/ck_editor_filter/ckeditorrr/_source/plugins/uicolor/plugin.js
classiccms-0.3.8 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js
classiccms-0.3.7 lib/classiccms/public/js/ckeditor/_source/plugins/uicolor/plugin.js