Ajout du bouton « Plinn Image » avec toute la glue qui va bien. Pour l'instant, le...
[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
12 // toolbar
13 config.toolbar = [
14 { name: 'styles', items : [ 'Styles', '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', 'Image', '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.css';
31
32 config.filebrowserBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector';
33 config.filebrowserWindowHeight = 600;
34 config.filebrowserWindowWidth = 801;
35
36 config.extraPlugins = 'selection,plinn_image';
37 };