Sha256: 020368b581a1e282398e1dc85686981c6c01b6f8f31f9b8122b44c74282b1696

Contents?: true

Size: 1.34 KB

Versions: 6

Compression:

Stored size: 1.34 KB

Contents

// This is a custom configuration file that will be used by BrowserCMS to load instances of 
// the CKEditor.
// As per http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.customConfig using a custom config
// avoids the need to 'mask' the core default config.js file that CKEDITOR comes packaged with.

CKEDITOR.config.toolbar_CMS = [
  ['Source','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','SpellChecker','Scayt','-','Undo','Redo','Find','Replace','RemoveFormat','-','NumberedList','BulletedList','Outdent','Indent','HorizontalRule'],
  '/',
  ['Link','Unlink','Anchor','Image','Table','SpecialChar','-','Bold','Italic','Underline','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','TextColor','Styles']
];

CKEDITOR.config.toolbar_CMSForms = [
	['Source','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','SpellChecker','Scayt','-','Undo','Redo','Find','Replace','RemoveFormat','-','NumberedList','BulletedList','Outdent','Indent','HorizontalRule'],
  '/',
	['Link','Unlink','Anchor','Image','Table','SpecialChar','Bold','Italic','Underline','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','TextColor','Styles'],
	'/',
	['TextField','Select','Checkbox','Radio','Textarea','Button','ImageButton','HiddenField']
];

CKEDITOR.config.width = 598;
CKEDITOR.config.height = 400;
CKEDITOR.config.toolbar = 'CMS';

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
browsercms-3.5.7 app/assets/javascripts/bcms/ckeditor_standard_config.js
browsercms-3.5.6 app/assets/javascripts/bcms/ckeditor_standard_config.js
browsercms-3.5.5 app/assets/javascripts/bcms/ckeditor_standard_config.js
browsercms-3.5.4 app/assets/javascripts/bcms/ckeditor_standard_config.js
browsercms-3.5.3 app/assets/javascripts/bcms/ckeditor_standard_config.js
browsercms-3.5.2 app/assets/javascripts/bcms/ckeditor_standard_config.js