X-Git-Url: https://scm.cri.mines-paristech.fr/git/ckeditor.git/blobdiff_plain/1ca6aa82915bafb93c6a11f9ba3c248ba8ab7070..d4f7e17cf14c164b1da36fbfe44533aa0a90b7ab:/skins/ckeditor/config.js?ds=inline diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index f80a050..057a4e0 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -9,18 +9,26 @@ 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.menu_groups = 'tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash' + + 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; + + config.extraPlugins = 'selection,plinn_image'; +}; \ No newline at end of file