﻿/*
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license

http://docs.cksource.com/CKEditor_3.x/Developers_Guide
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html

http://brandon-kelly.com/fieldframe/showcase/editors
http://brandon-kelly.com/fieldframe/showcase
12:45 - 1:45
*/

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';

  config.toolbar = "CMS_MIN";
  config.toolbar_CMS = [
 //   ['-', 'Link', 'Unlink'],
 //   ['SelectAll', '-', 'Maximize']
 
    //['Source'],
    ['Styles', '-', 'Link', 'Unlink'],
    ['FontSize'],
    //['SelectAll', '-', 'RemoveFormat', '-', 'Maximize']
    ['SelectAll', '-', 'Maximize']
  ];

  config.toolbar_CMS_MIN = [
    ['-', 'Link', 'Unlink'],
    ['SelectAll', '-', 'Maximize']
  ];

  config.enterMode = CKEDITOR.ENTER_BR;

  config.forcePasteAsPlainText = true;

  // The CSS file(s) to be used to apply style to the contents.
  //config.contentsCss = ['/ckeditor/contents.css', '/stylesheets/cms_ckeditor.css']; // NOT WORKING
  config.contentsCss = ['/stylesheets/cms_ckeditor.css'];


  // Styles for the Dropdown combo
  config.stylesCombo_stylesSet = 'mystyles:/javascripts/ckeditor_styles.js';
  
  config.fontSize_sizes = 'SMALL/16px;MEDIUM/24px;BIG/48px;';
  
  config.font_names =
    // Display Name / Output Tag
    'Arial/Arial, Helvetica, sans-serif;' +
//    'Comic Sans MS/Comic Sans MS, cursive;' +
    'Courier New/Courier New, Courier, monospace;' +
//    'Georgia/Georgia, serif;' +
//    'Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;' +
//    'Tahoma/Tahoma, Geneva, sans-serif;' +
    'Times New Roman/Times New Roman, Times, serif;';
//    'Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;' +
//    'Verdana/Verdana, Geneva, sans-serif';

};

