X-Git-Url: https://svn.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/4bd080d5604dd3d2f4b172f061903f50df295234..e11f66eb655db8339a2d9b197b89f6c3b26099e1:/skins/ckeditor/config.js diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index 2944bb0..d0194a7 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -20,18 +20,20 @@ CKEDITOR.editorConfig = function( config ) { name: 'basicstyles', items : [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ] }, { name: 'paragraph', items : [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] }, { name: 'links', items : [ 'Link', 'Unlink', 'Anchor' ] }, - { name: 'insert', items : [ 'PlinnImage', 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] }, + { name: 'insert', items : [ 'PlinnImage', '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.contentsCss = CKEDITOR.basePath + 'global_plinn_style_editor.css'; config.filebrowserBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector'; + CKEDITOR.config.filebrowserImageBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Type=Image&Connector=connectors/plinn/connector'; config.filebrowserWindowHeight = 600; config.filebrowserWindowWidth = 801; - - config.extraPlugins = 'selection,plinn_image'; + config.attachmentBrowserConnectorUrl = CKEDITOR.basePath + 'plugins/plinn_image/connectors/plinn/connector'; + config.imageMaxDefaultDimension = 500 ; // image inserted will be cropped at this size. + config.extraPlugins = 'plinn_image'; }; \ No newline at end of file