Orbit/public/javascripts/ckeditor/config.js

44 lines
1.5 KiB
JavaScript
Raw Normal View History

/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config )
{
config.PreserveSessionOnFileBrowser = true;
// Define changes to default configuration here. For example:
config.language = 'en';
// config.uiColor = '#AADC6E';
//config.ContextMenu = ['Generic','Anchor','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
config.height = '400px';
config.width = '600px';
//config.resize_enabled = false;
//config.resize_maxHeight = 2000;
//config.resize_maxWidth = 750;
//config.startupFocus = true;
// works only with en, ru, uk languages
config.extraPlugins = "embed,attachment";
config.toolbar = 'Easy';
config.toolbar_Easy =
[
['Source','-','Preview','Templates'],
['Cut','Copy','Paste','PasteText','PasteFromWord',],
['Maximize','-','About'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Styles','Format'],
['Bold','Italic','Underline','Strike','-','Subscript','Superscript', 'TextColor'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Image','Embed','Flash','Attachment','Table','HorizontalRule','Smiley','SpecialChar','PageBreak']
];
};