X-Git-Url: https://svn.cri.mines-paristech.fr/git/ckeditor.git/blobdiff_plain/1ca6aa82915bafb93c6a11f9ba3c248ba8ab7070..45e45b704882d7f41ca8f80b2ab69ab6a6a8e4b7:/skins/ckeditor/config.js

diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js
index f80a050..19c2459 100644
--- a/skins/ckeditor/config.js
+++ b/skins/ckeditor/config.js
@@ -9,18 +9,24 @@ CKEDITOR.editorConfig = function( config )
 	// config.language = 'fr';
 	// config.uiColor = '#AADC6E';
 	config.toolbar = [
-		{ name: 'document',		items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },
-		{ name: 'clipboard',	items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
-		{ name: 'editing',		items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
-		{ name: 'forms',		items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] },
+		{ 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','-','BidiLtr','BidiRtl' ] },
-		{ name: 'links',		items : [ 'Link','Unlink','Anchor' ] },
-		{ name: 'insert',		items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },
-		'/',
-		{ name: 'styles',		items : [ 'Styles','Format','Font','FontSize' ] },
-		{ name: 'colors',		items : [ 'TextColor','BGColor' ] },
-		{ name: 'tools',		items : [ 'Maximize', 'ShowBlocks','-','About' ] }
+		{ 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'] },
 	];
-};
+	
+	config.height = '500px';
+	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.extraPlugins = 'selection,plinn_image';
+};
\ No newline at end of file