Подскажите как это сделать
| uznik73 |
|
|---|---|
|
Настраиваешь конфиг файл ../plugins/ckeditor/lib/config.js например так
/* CKEditor toolbar sets for Cotonti */
CKEDITOR.editorConfig = function( config )
{
config.toolbar = 'Full';
config.extraPlugins = 'MediaEmbed,more,code';
config.forcePasteAsPlainText = true;
config.toolbar_Full =
[
['Source','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Image','Flash','MediaEmbed','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'],
['Maximize', 'ShowBlocks','-','About'],
'/',
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], ['Code','More'],
['Link','Unlink','Anchor'],
['Styles','Format'],
['TextColor','BGColor']
];
config.toolbar_Medium = [
['Bold','Italic','Underline','Strike'],
['NumberedList','BulletedList','-','Blockquote'],
['Link','Unlink','Anchor','Smiley'],
['TextColor','BGColor'],
['Cut','Copy','Paste','PasteText','Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],['Source']
];
config.toolbar_Basic =
[
['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']
];
};
Плагин MediEmbed должен быть в папке ../plugins/ckeditor/lib/plugins Сам плагин: ссылка , нашел в гугле за работоспособность не ручаюсь Sorry for my poor English
|