From: Benoît Pin Date: Tue, 16 Aug 2011 09:27:16 +0000 (+0200) Subject: Ajout de la toolbar « full » avant customisation. X-Git-Tag: 3.6.1~32 X-Git-Url: https://scm.cri.mines-paristech.fr/git/ckeditor.git/commitdiff_plain/1ca6aa82915bafb93c6a11f9ba3c248ba8ab7070?hp=14d450d78a2d67ec1decd64c928151851961dd36 Ajout de la toolbar « full » avant customisation. --- diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index fde512c..f80a050 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -8,4 +8,19 @@ CKEDITOR.editorConfig = function( config ) // Define changes to default configuration here. For example: // 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: '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' ] } + ]; };