Ça devrait le faire. Maintenant, on va passer au tests / ajustements.
[ckeditor.git] / skins / ckeditor / config.js
index 322d3f2..58759ed 100644 (file)
@@ -30,8 +30,10 @@ CKEDITOR.editorConfig = function( config )
        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.contentsCss = CKEDITOR.basePath + 'global_plinn_style.css';\r
        \r
        config.filebrowserBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector';\r
+       CKEDITOR.config.filebrowserImageBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Type=Image&Connector=connectors/plinn/connector';\r
        config.filebrowserWindowHeight = 600;\r
        config.filebrowserWindowWidth = 801;\r
        config.attachmentBrowserConnectorUrl = CKEDITOR.basePath + 'plugins/plinn_image/connectors/plinn/connector';\r
        config.filebrowserWindowHeight = 600;\r
        config.filebrowserWindowWidth = 801;\r
        config.attachmentBrowserConnectorUrl = CKEDITOR.basePath + 'plugins/plinn_image/connectors/plinn/connector';\r
+       config.imageMaxDefaultDimension = 500 ; // image inserted will be cropped at this size.\r
        config.extraPlugins = 'plinn_image';\r
 };
\ No newline at end of file
        config.extraPlugins = 'plinn_image';\r
 };
\ No newline at end of file