2013-01-15 23:46:19 +01:00
|
|
|
/**
|
|
|
|
* @license Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
|
|
|
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
|
|
*/
|
|
|
|
|
|
|
|
CKEDITOR.editorConfig = function( config ) {
|
|
|
|
config.toolbarGroups = [
|
2013-05-02 15:07:17 +02:00
|
|
|
[ 'Bold', 'Italic', 'TextColor' ],
|
|
|
|
['Font', 'FontSize'],
|
|
|
|
{ name: 'paragraph', groups: [ 'list', 'indent', 'align' ] },
|
2013-01-15 23:46:19 +01:00
|
|
|
{ name: 'links' },
|
|
|
|
{ name: 'insert' },
|
|
|
|
['SpellChecker','Scayt']
|
|
|
|
];
|
|
|
|
|
|
|
|
config.removeButtons = 'Anchor,Underline,Strike,Subscript,Superscript';
|
|
|
|
config.removeDialogTabs = 'link:advanced';
|
|
|
|
config.enterMode = CKEDITOR.ENTER_BR;
|
|
|
|
};
|