﻿/*
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.addStylesSet( 'my_styles',
[

    // Inline Styles
    { name : 'Titre principal', element : 'h1', attributes : { 'class' : 'titre_principal' } },
	{ name : 'Titre secondaire', element : 'h2', attributes : { 'class' : 'titre_secondaire' } },
	{ name : 'Texte de base', element : 'span', attributes : {  'class' : 'texte_base' } },
	{ name : 'Titre des activités', element : 'h3', attributes : {  'class' : 'titre_activites' } },
	{ name : 'Titre Post it', element : 'span', attributes : {  'class' : 'titre_post_it' } },
	{ name : 'Nom des activités', element : 'h4', attributes : {  'class' : 'nom_activites' } }
	
]);

CKEDITOR.config.contentsCss = ['/javascript/ckeditor/contents.css', '/css/contenu.css', '/css/template.css'];

CKEDITOR.editorConfig = function( config )
{
  config.stylesCombo_stylesSet = 'my_styles';
  config.height = 600;
	config.toolbar_App =
	[
	    ['Source'],
	   ['Image','Flash','Smiley'],
	    ['Cut','Copy','Paste','-','Print'],
		['Bold','Italic','Underline','Strike'],
	    ['BulletedList','Blockquote'],
	    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
	    ['Link','Unlink'],
	    ['Image','Flash','Smiley'],
	    ['Styles','Format','Font','FontSize'],
	    ['TextColor','BGColor']
	];
	config.toolbar = 'App';
	config.forcePasteAsPlainText = true;
};


