Déplacement préalable à l'eggification.
[ckeditor.git] / Products / ckeditor / 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
12 // toolbar
13 config.toolbar = [
14 { name: 'styles', items : [ 'PlinnStyles','Format', 'Font', 'FontSize' ] },
15 { name: 'colors', items : [ 'TextColor', 'BGColor' ] },
16 { name: 'document', items : [ 'Maximize', 'ShowBlocks', 'Source'] },
17 { name: 'editing', items : [ 'Find','Replace', '-', 'SelectAll'] },
18 { name: 'clipboard', items : [ 'PasteFromWord', '-', 'Undo', 'Redo' ] },
19 '/',
20 { name: 'basicstyles', items : [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ] },
21 { name: 'paragraph', items : [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] },
22 { name: 'links', items : [ 'Link', 'Unlink', 'Anchor' ] },
23 { name: 'insert', items : [ 'PlinnImage', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] },
24 ];
25
26 // context menu
27 config.menu_groups = 'tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash'
28
29 config.height = '500px';
30 config.contentsCss = CKEDITOR.basePath + 'global_plinn_style_editor.css';
31 config.allowedContent = true;
32
33 config.filebrowserBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector';
34 CKEDITOR.config.filebrowserImageBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Type=Image&Connector=connectors/plinn/connector';
35 config.filebrowserWindowHeight = 600;
36 config.filebrowserWindowWidth = 801;
37 config.attachmentBrowserConnectorUrl = CKEDITOR.basePath + 'plugins/plinn_image/connectors/plinn/connector';
38 config.imageMaxDefaultDimension = 500 ; // image inserted will be cropped at this size.
39 config.extraPlugins = 'plinn_image,plinn_styles,codemirror';
40
41 config.stylesSet = 'plinn_styles:' + CKEDITOR.basePath + 'plinn_ckeditor_styles.js';
42 };