1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
CKEDITOR.editorConfig = function( config )
{
config.disableObjectResizing = true;
config.language = 'en';
config.extraPlugins = 'bbcode';
config.removePlugins = 'bidi,button,dialogadvtab,div,filebrowser,flash,format,forms,horizontalrule,iframe,indent,justify,liststyle,pagebreak,showborders,stylescombo,table,tabletools,templates';
config.smiley_path = './images/smilies/';
config.smiley_images =
[
'smile.gif','sad.gif','wink.gif','biggrin.gif','tongue.gif','blush.gif',
'confused.gif','angel.gif','cool.gif'
];
config.smiley_descriptions =
[
'smiley', 'sad', 'wink', 'laugh', 'cheeky', 'blush',
'indecision', 'angel', 'cool'
];
config.toolbar =
[
['Source', '-', 'Save','NewPage','-','Undo','Redo'],
['Find','Replace','-','SelectAll','RemoveFormat'],
['Link', 'Unlink', 'Image'],
'/',
['Bold', 'Italic','Underline'],
['NumberedList','BulletedList','-','Blockquote'],
['TextColor', '-', 'Smiley','SpecialChar', '-', 'Maximize']
];
};
|