X-Git-Url: https://scm.cri.mines-paristech.fr/git/ckeditor.git/blobdiff_plain/9195a0ee849717e632f72ee69c93a95ff6661f9a..f4ee7f0b516759f9c90055bd9e51450ef058790f:/skins/ckeditor/config.js?ds=sidebyside diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index 19ea463..fdcad7b 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -8,6 +8,8 @@ CKEDITOR.editorConfig = function( config ) // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; + + // toolbar config.toolbar = [ { name: 'styles', items : [ 'Styles', 'Format', 'Font', 'FontSize' ] }, { name: 'colors', items : [ 'TextColor', 'BGColor' ] }, @@ -20,4 +22,16 @@ CKEDITOR.editorConfig = function( config ) { name: 'links', items : [ 'Link', 'Unlink', 'Anchor' ] }, { name: 'insert', items : [ 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] }, ]; -}; + + // context menu + 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