Sha256: 3fd421ccfb7d9f8ae2b84f85438f48f9736c84fbef31f69e59485df905295548

Contents?: true

Size: 1.08 KB

Versions: 25

Compression:

Stored size: 1.08 KB

Contents

CKEDITOR.plugins.addExternal( 'cortex_media_insert', '/assets/ckeditor/plugins/cortex_media_insert/' );

CKEDITOR.editorConfig = function( config ) {
  config.allowedContent = true;
  config.extraPlugins = 'cortex_media_insert';

	config.toolbarGroups = [
		{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
		{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
		{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
		{ name: 'forms', groups: [ 'forms' ] },
		{ name: 'styles', groups: [ 'styles' ] },
		{ name: 'colors', groups: [ 'colors' ] },
		{ name: 'tools', groups: [ 'tools' ] },
		{ name: 'others', groups: [ 'others' ] },
		'/',
		{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
		{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
		{ name: 'links', groups: [ 'links' ] },
		{ name: 'insert', groups: [ 'insert' ] }
	];

	config.removeButtons = 'Image,Save,NewPage,Preview,Print,Templates,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,Flash,ShowBlocks,About';
};

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
cortex-plugins-core-0.10.1 app/assets/javascripts/ckeditor/config.js
cortex-plugins-core-0.10.0 app/assets/javascripts/ckeditor/config.js
cortex-plugins-core-0.9.1 app/assets/javascripts/ckeditor/config.js
cortex-plugins-core-0.9.0 app/assets/javascripts/ckeditor/config.js
cortex-plugins-core-0.8.0 app/assets/javascripts/ckeditor/config.js