/**
 * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.html or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	config.language = "pt-br";
	
	config.toolbarGroups = [
		{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
		{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
		{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
		{ name: 'forms', groups: [ 'forms' ] },
		{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
	 	{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
		{ name: 'links', groups: [ 'links' ] },
		{ name: 'insert', groups: [ 'insert' ] },
		{ name: 'styles', groups: [ 'styles' ] },
		{ name: 'colors', groups: [ 'colors' ] },
		{ name: 'tools', groups: [ 'tools' ] },
		{ name: 'others', groups: [ 'others' ] }
	];

	// config.removeButtons = 'Copy,Paste,Undo,Anchor,Redo,Link,Underline,Strike,Subscript,Superscript,Unlink,' + 
	// 					   'Indent,Outdent,About,Save,Templates,NewPage,Preview,BulletedList,NumberedList,' +
	// 					   'Print,Cut,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,RemoveFormat,'+
	// 					   'Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,Blockquote,'+
	// 					   'JustifyLeft,BidiLtr,CreateDiv,JustifyCenter,BidiRtl,Language,JustifyRight,'+
	// 					   'JustifyBlock,Image,Styles,TextColor,Maximize,ShowBlocks,BGColor,Flash,Table,'+
	// 					   'Format,HorizontalRule,Smiley,Font,SpecialChar,PageBreak,FontSize,Iframe';
						// Link, BulletedList, NumberedList

    //config.allowedContent = 'h5 h6 h7 h8 h9 h10 List';
    config.allowedContent = true;

    config.filebrowserBrowseUrl = '../../../js/elfinder/elfinder.html';

};
