Sha256: f5a8bd0cb60320ccf02ddfe992c183c50294c5a2c49d744c51ea5dc01bb215a1

Contents?: true

Size: 521 Bytes

Versions: 10

Compression:

Stored size: 521 Bytes

Contents

	CKEDITOR.plugins.add('paperclipped',
	{
		init: function(editor){
			var pluginName = 'paperclipped';
//			editor.addCommand( 'Paperclipped',  );
			editor.ui.addButton('Paperclipped',
			{
				label: 'Image bucket',
				click: function(){
					if ($('show-bucket'))
						if ($("asset-bucket").visible())
							$("asset-bucket").hide()
		        else
							$("asset-bucket").centerInViewport()
							$("asset-bucket").show()
				},
	      command: 'Paperclipped',
				icon: this.path+'images/icon.png'
			});
		}
	})

Version data entries

10 entries across 9 versions & 1 rubygems

Version Path
radiant-ck_editor_filter-extension-0.2.7 public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/plugin.js
radiant-ck_editor_filter-extension-0.2.6 public/javascripts/extensions/ck_editor_filter/ckeditorrr/plugins/paperclipped/plugin.js
radiant-ck_editor_filter-extension-0.2.6 public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/plugin.js
radiant-ck_editor_filter-extension-0.2.5 public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/plugin.js
radiant-ck_editor_filter-extension-0.2.4 public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/plugin.js
radiant-ck_editor_filter-extension-0.2.3 public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/plugin.js
radiant-ck_editor_filter-extension-0.2.2 public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/plugin.js
radiant-ck_editor_filter-extension-0.2.1 public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/plugin.js
radiant-ck_editor_filter-extension-0.2.0 public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/plugin.js
radiant-ck_editor_filter-extension-0.1.1 public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/plugin.js