Ajout de la toolbar « full » avant customisation.
authorBenoît Pin <pin@cri.ensmp.fr>
Tue, 16 Aug 2011 09:27:16 +0000 (11:27 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Tue, 16 Aug 2011 09:27:16 +0000 (11:27 +0200)
skins/ckeditor/config.js

index fde512c..f80a050 100644 (file)
@@ -8,4 +8,19 @@ CKEDITOR.editorConfig = function( config )
        // Define changes to default configuration here. For example:\r
        // config.language = 'fr';\r
        // config.uiColor = '#AADC6E';\r
+       config.toolbar = [\r
+               { name: 'document',             items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },\r
+               { name: 'clipboard',    items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },\r
+               { name: 'editing',              items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },\r
+               { name: 'forms',                items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] },\r
+               '/',\r
+               { name: 'basicstyles',  items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },\r
+               { name: 'paragraph',    items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },\r
+               { name: 'links',                items : [ 'Link','Unlink','Anchor' ] },\r
+               { name: 'insert',               items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },\r
+               '/',\r
+               { name: 'styles',               items : [ 'Styles','Format','Font','FontSize' ] },\r
+               { name: 'colors',               items : [ 'TextColor','BGColor' ] },\r
+               { name: 'tools',                items : [ 'Maximize', 'ShowBlocks','-','About' ] }\r
+       ];\r
 };\r