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

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	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','video' ] },
		'/',
		{ name: 'styles', groups: [ 'styles' ] },
		{ name: 'colors', groups: [ 'colors' ] },
		{ name: 'tools', groups: [ 'tools' ] },
		{ name: 'others', groups: [ 'others' ] },
		{ name: 'about', groups: [ 'about' ] }
	];
	
	config.extraPlugins='video';
	
	config.filebrowserBrowseUrl = 'http://channellimo.com/assets/7Nx0GxEVwiOHR16AO/browse.php?opener=ckeditor&type=files';
	config.filebrowserImageBrowseUrl = 'http://channellimo.com/assets/7Nx0GxEVwiOHR16AO/browse.php?opener=ckeditor&type=article-asset';
	config.filebrowserFlashBrowseUrl = 'http://channellimo.com/assets/browse.php?opener=ckeditor&type=flash';
	config.filebrowserUploadUrl = 'http://channellimo.com/assets/7Nx0GxEVwiOHR16AO/browse.php?opener=ckeditor&type=files';
	config.filebrowserImageUploadUrl = 'http://channellimo.com/assets/browse.php?opener=ckeditor&type=article-asset';
	config.filebrowserFlashUploadUrl = 'http://channellimo.com/assets/7Nx0GxEVwiOHR16AO/browse.php?opener=ckeditor&type=flash';
   	config.filebrowserVideoBrowseUrl = 'http://channellimo.com/assets/7Nx0GxEVwiOHR16AO/browse.php?opener=ckeditor&type=article-asset';	
	config.filebrowserWindowWidth = '800';
	config.filebrowserWindowHeight = '500';
	
	config.extraAllowedContent = 'video [*]{*}(*);source [*]{*}(*);';
	
};
