// Define changes to default configuration here. For example:\r
// config.language = 'fr';\r
// config.uiColor = '#AADC6E';\r
+ \r
+ // toolbar\r
config.toolbar = [\r
{ name: 'styles', items : [ 'Styles', 'Format', 'Font', 'FontSize' ] },\r
{ name: 'colors', items : [ 'TextColor', 'BGColor' ] },\r
{ 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', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] },\r
];\r
-};\r
+ \r
+ // context menu\r
+ config.menu_groups = 'tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash'\r
+ \r
+ config.height = '500px';\r
+ config.contentsCss = CKEDITOR.basePath + 'global_plinn_style_editor.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.imageMaxDefaultDimension = 500 ; // image inserted will be cropped at this size.\r
+ config.extraPlugins = 'plinn_image';\r
+};
\ No newline at end of file