-/*\r
-Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
-For licensing, see LICENSE.html or http://ckeditor.com/license\r
-*/\r
-\r
-CKEDITOR.editorConfig = function( config )\r
-{\r
- // Define changes to default configuration here. For example:\r
- // config.language = 'fr';\r
- // config.uiColor = '#AADC6E';\r
- config.toolbar = [\r
- { name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },\r
- { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },\r
- { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },\r
- { name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] },\r
- '/',\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','-','BidiLtr','BidiRtl' ] },\r
- { name: 'links', items : [ 'Link','Unlink','Anchor' ] },\r
- { name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },\r
- '/',\r
- { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },\r
- { name: 'colors', items : [ 'TextColor','BGColor' ] },\r
- { name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }\r
- ];\r
-};\r
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.editorConfig = function( config )
+{
+ // Define changes to default configuration here. For example:
+ // config.language = 'fr';
+ // config.uiColor = '#AADC6E';
+
+ // toolbar
+ config.toolbar = [
+ { name: 'styles', items : [ 'Styles', 'Format', 'Font', 'FontSize' ] },
+ { name: 'colors', items : [ 'TextColor', 'BGColor' ] },
+ { name: 'document', items : [ 'Maximize', 'ShowBlocks', 'Source'] },
+ { name: 'editing', items : [ 'Find','Replace', '-', 'SelectAll'] },
+ { name: 'clipboard', items : [ 'PasteFromWord', '-', 'Undo', 'Redo' ] },
+ '/',
+ { 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 : [ 'PlinnImage', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] },
+ ];
+
+ // context menu
+ config.menu_groups = 'tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash'
+
+ config.height = '500px';
+ config.contentsCss = CKEDITOR.basePath + 'global_plinn_style_editor.css';
+ config.allowedContent = true;
+
+ 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,codemirror';
+};
\ No newline at end of file