X-Git-Url: https://scm.cri.mines-paristech.fr/git/ckeditor.git/blobdiff_plain/ff15447525986336e81f8bc423a23047c732bbe1..45fc060f42ddcec8ac9f2219c404eb581a5791ba:/skins/ckeditor/config.js?ds=sidebyside diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index 322d3f2..58759ed 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -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.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