X-Git-Url: https://scm.cri.mines-paristech.fr/git/ckeditor.git/blobdiff_plain/7c4f7ce0c90fd8b1413f4cc46eb5c84730d61e56..6cfc39c3f3c88b9560d032b11335111257ffa69b:/skins/ckeditor/config.js?ds=sidebyside diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index fdcad7b..6393de7 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -20,7 +20,7 @@ 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 : [ 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] }, + { name: 'insert', items : [ 'PlinnImage', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] }, ]; // context menu @@ -30,8 +30,10 @@ CKEDITOR.editorConfig = function( config ) config.contentsCss = CKEDITOR.basePath + 'global_plinn_style.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