Welcome to WebmasterWorld Guest from 54.158.228.55

Forum Moderators: open

Message Too Old, No Replies

ckeditor I need to add a media button

     
8:35 pm on Apr 25, 2010 (gmt 0)

5+ Year Member



I tried to add a media button in the config.js. I added the mediaembeded plugin but when I put in the code
config.extraPlugins = 'MediaEmbed';
to the config.js file below the editor dissapears. Anyone know what I am doing wrong.

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','MediaEmbeded'],
['uploader','Table','HorizontalRule','SpecialChar'],
'/',
['Bold','Italic','StrikeThrough','-','Subscript','Superscript'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Format','FontSize'],
['FitWindow','ShowBlocks']

];
};
8:16 am on May 18, 2010 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld little flower.

Sorry, but it doesn't seem as though we have too many CKeditor pros here. Did you ever find a solution to your problem?
11:33 am on May 18, 2010 (gmt 0)

5+ Year Member



I decided to go with tinymce. It is easier and has more options and i even am able to add media. Thank you.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month