19c2459d1934c0c672425c6f171ad7dfaa3c5c8d
[ckeditor.git] / skins / ckeditor / config.js
1 /*
2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3 For licensing, see LICENSE.html or http://ckeditor.com/license
4 */
5
6 CKEDITOR.editorConfig = function( config )
7 {
8 // Define changes to default configuration here. For example:
9 // config.language = 'fr';
10 // config.uiColor = '#AADC6E';
11 config.toolbar = [
12 { name: 'styles', items : [ 'Styles', 'Format', 'Font', 'FontSize' ] },
13 { name: 'colors', items : [ 'TextColor', 'BGColor' ] },
14 { name: 'document', items : [ 'Maximize', 'ShowBlocks', 'Source'] },
15 { name: 'editing', items : [ 'Find','Replace', '-', 'SelectAll'] },
16 { name: 'clipboard', items : [ 'PasteFromWord', '-', 'Undo', 'Redo' ] },
17 '/',
18 { name: 'basicstyles', items : [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ] },
19 { name: 'paragraph', items : [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] },
20 { name: 'links', items : [ 'Link', 'Unlink', 'Anchor' ] },
21 { name: 'insert', items : [ 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] },
22 ];
23
24 config.height = '500px';
25 config.contentsCss = CKEDITOR.basePath + 'global_plinn_style.css';
26
27 config.filebrowserBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector';
28 config.filebrowserWindowHeight = 600;
29 config.filebrowserWindowWidth = 801;
30
31 config.extraPlugins = 'selection,plinn_image';
32 };