doc++.
[ckeditor.git] / skins / ckeditor / config.js
index 867438d..fdcad7b 100644 (file)
@@ -8,7 +8,11 @@ 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: '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
@@ -17,8 +21,17 @@ CKEDITOR.editorConfig = function( config )
                { 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
-               { name: 'styles',               items : [ 'Styles', 'Format', 'Font', 'FontSize' ] },\r
-               { name: 'colors',               items : [ 'TextColor', 'BGColor' ] },\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