doc++.
[ckeditor.git] / skins / ckeditor / config.js
index f80a050..fdcad7b 100644 (file)
@@ -8,19 +8,30 @@ CKEDITOR.editorConfig = function( config )
        // Define changes to default configuration here. For example:\r
        // config.language = 'fr';\r
        // config.uiColor = '#AADC6E';\r
+       \r
+       // toolbar\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
+               { name: 'styles',               items : [ 'Styles', 'Format', 'Font', 'FontSize' ] },\r
+               { name: 'colors',               items : [ 'TextColor', 'BGColor' ] },\r
+               { name: 'document',             items : [ 'Maximize', 'ShowBlocks', 'Source'] },\r
+               { name: 'editing',              items : [ 'Find','Replace', '-', 'SelectAll'] },\r
+               { name: 'clipboard',    items : [ 'PasteFromWord', '-', 'Undo', 'Redo' ] },\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
+               { name: 'basicstyles',  items : [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ] },\r
+               { name: 'paragraph',    items : [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] },\r
+               { name: 'links',                items : [ 'Link', 'Unlink', 'Anchor' ] },\r
+               { name: 'insert',               items : [ 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] },\r
        ];\r
-};\r
+       \r
+       // context menu\r
+       config.menu_groups = 'tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash'\r
+       \r
+       config.height = '500px';\r
+       config.contentsCss = CKEDITOR.basePath + 'global_plinn_style.css';\r
+       \r
+       config.filebrowserBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector';\r
+       config.filebrowserWindowHeight = 600;\r
+       config.filebrowserWindowWidth = 801;\r
+       \r
+       config.extraPlugins = 'selection,plinn_image';\r
+};
\ No newline at end of file