X-Git-Url: https://scm.cri.mines-paristech.fr/git/ckeditor.git/blobdiff_plain/871bad8291b6dbc29d489d95d185458caab25158..4263e3f11a4150c7a5eec0ca48b64b784f86b556:/skins/ckeditor/config.js?ds=inline diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index fde512c..720e820 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -8,4 +8,22 @@ CKEDITOR.editorConfig = function( config ) // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; -}; + config.toolbar = [ + { name: 'styles', items : [ 'Styles', 'Format', 'Font', 'FontSize' ] }, + { name: 'colors', items : [ 'TextColor', 'BGColor' ] }, + { name: 'document', items : [ 'Maximize', 'ShowBlocks', 'Source'] }, + { name: 'editing', items : [ 'Find','Replace', '-', 'SelectAll'] }, + { name: 'clipboard', items : [ 'PasteFromWord', '-', 'Undo', 'Redo' ] }, + '/', + { name: 'basicstyles', items : [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ] }, + { name: 'paragraph', items : [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] }, + { name: 'links', items : [ 'Link', 'Unlink', 'Anchor' ] }, + { name: 'insert', items : [ 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] }, + ]; + + config.height = '500px'; + + config.filebrowserBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector'; + config.filebrowserWindowHeight = 600; + config.filebrowserWindowWidth = 801; +}; \ No newline at end of file