Migration du code gestionnaire d'événement double-clic pour l'insertion d'un lien.
[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
26 config.filebrowserBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector';
27 config.filebrowserWindowHeight = 600;
28 config.filebrowserWindowWidth = 801;
29 };