I can't sem to add a media button. Here is what I did to the config.js. I also uploaded the mediaembeded plugin. When I add this code
config.extraPlugins = 'MediaEmbed';
My editor disappears. How do I do this.
Thanks, Heidi
config.extraPlugins = 'MediaEmbed';
My editor disappears. How do I do this.
Thanks, Heidi
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.docType = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';
config.image_removeLinkByEmptyURL = false;
config.height = '500';
config.toolbar = 'MyToolbar';
config.toolbar_MyToolbar =
[
['Cut','Copy','Paste','PasteFromWord','-','SpellChecker'],
['Undo','Redo','-','Find','Replace'],
['NumberedList','BulletedList','Outdent','Indent','Blockquote','RemoveFormat','Source'],
['Link','Unlink','Anchor','Image','Flash','MediaEmbed'],
['uploader','Table','HorizontalRule','SpecialChar'],
'/',
['Bold','Italic','StrikeThrough','-','Subscript','Superscript'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Format','FontSize'],
['FitWindow','ShowBlocks']
];
};

Re: need to add a media button
Re: need to add a media button
If your directory name is "mediaembed" but not "MediaEmbed" it seems to be reason of problem.
In this case you should be try to set in lowercase all "MediaEmbed" in the plugin code and config.js, except for "editor.ui.addButton( 'MediaEmbed', .....". Or rename the directory, but it's probably not right way.
Excuse my english.