X-Git-Url: https://scm.cri.mines-paristech.fr/git/ckeditor.git/blobdiff_plain/1ca6aa82915bafb93c6a11f9ba3c248ba8ab7070..aa6b1c7a5c513c70a9f55ced8662e8ccb53afd83:/skins/ckeditor/config.js diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index f80a050..720e820 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -9,18 +9,21 @@ CKEDITOR.editorConfig = function( config ) // config.language = 'fr'; // config.uiColor = '#AADC6E'; config.toolbar = [ - { name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] }, - { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] }, - { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] }, - { name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] }, + { 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','-','BidiLtr','BidiRtl' ] }, - { name: 'links', items : [ 'Link','Unlink','Anchor' ] }, - { name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] }, - '/', - { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] }, - { name: 'colors', items : [ 'TextColor','BGColor' ] }, - { name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] } + { 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