30 lines
1.1 KiB
JavaScript
30 lines
1.1 KiB
JavaScript
/*
|
|
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
*/
|
|
|
|
CKEDITOR.editorConfig = function( config )
|
|
{
|
|
// Define changes to default configuration here. For example:
|
|
// config.language = 'fr';
|
|
// config.uiColor = '#AADC6E';
|
|
config.filebrowserBrowseUrl = 'kcfinder/browse.php?type=images';
|
|
config.filebrowserUploadUrl = 'kcfinder/upload.php?type=images';
|
|
CKEDITOR.config.toolbar_Vtiger =
|
|
[
|
|
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
|
|
['NumberedList','BulletedList','-','Outdent','Indent'],
|
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
|
['Link','Unlink','Anchor'],
|
|
['Source','-','NewPage','Preview','Templates'],
|
|
'/',
|
|
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker'],
|
|
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
|
|
['Image','Table','HorizontalRule','SpecialChar','PageBreak','TextColor','BGColor'], //,'Smiley','UniversalKey'],
|
|
'/',
|
|
['Styles','Format','Font','FontSize']
|
|
];
|
|
CKEDITOR.config.toolbar = 'Vtiger';
|
|
CKEDITOR.config.height = '320';
|
|
};
|