X-Git-Url: https://svn.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/b01425222f2ab7e9452d6265e93fad15466380ed..ff15447525986336e81f8bc423a23047c732bbe1:/skins/ckeditor/config.js?ds=sidebyside

diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js
index 9467812..322d3f2 100644
--- a/skins/ckeditor/config.js
+++ b/skins/ckeditor/config.js
@@ -8,6 +8,8 @@ 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' ] },
@@ -18,9 +20,18 @@ CKEDITOR.editorConfig = function( config )
 		{ 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 : [ 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] },
+		{ name: 'insert',		items : [ 'PlinnImage', 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] },
 	];
 	
+	// context menu
+	config.menu_groups = 'tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash'
+	
 	config.height = '500px';
-	config.filebrowserBrowseUrl = CKEDITOR.basePath;
+	config.contentsCss = CKEDITOR.basePath + 'global_plinn_style.css';
+	
+	config.filebrowserBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector';
+	config.filebrowserWindowHeight = 600;
+	config.filebrowserWindowWidth = 801;
+	config.attachmentBrowserConnectorUrl = CKEDITOR.basePath + 'plugins/plinn_image/connectors/plinn/connector';
+	config.extraPlugins = 'plinn_image';
 };
\ No newline at end of file