{ name: 'basicstyles', items : [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ] },\r
{ name: 'paragraph', items : [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] },\r
{ name: 'links', items : [ 'Link', 'Unlink', 'Anchor' ] },\r
- { name: 'insert', items : [ 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] },\r
+ { name: 'insert', items : [ 'PlinnImage', 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] },\r
];\r
\r
// context menu\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
- \r
- config.extraPlugins = 'selection,plinn_image';\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