X-Git-Url: https://scm.cri.mines-paristech.fr/git/ckeditor.git/blobdiff_plain/a7a4af9c016dca5bb34f5c739f5d5d96a7631165..67d9ee15c5754ff0d4e6269bdb4f4b68ad217059:/skins/ckeditor/config.js?ds=sidebyside diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index 867438d..3cd350d 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -9,6 +9,8 @@ CKEDITOR.editorConfig = function( config ) // 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' ] }, @@ -17,8 +19,12 @@ CKEDITOR.editorConfig = function( config ) { 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'] }, - '/', - { name: 'styles', items : [ 'Styles', 'Format', 'Font', 'FontSize' ] }, - { name: 'colors', items : [ 'TextColor', 'BGColor' ] }, ]; -}; + + config.height = '500px'; + config.contentsCss = CKEDITOR.basePath + 'global_plinn_style.css'; + + 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