Here is what I did. Below is my form. It works if I take out the toolbar : 'MyToolbar' but I want to be able to change the toolbar so I can customize it.
Here is the config.js. I added the Media embed. I tried it without the media embed and it still won't show my toolbar. What am I doing wrong?
<form method="POST" action="form_handler2.php" >
<p style="text-align: center"><textarea rows="47" id="editor1" name="content" cols="100"><?php print $content;?></textarea></p>
<script type="text/javascript">
CKEDITOR.replace( 'editor1',
{
toolbar : 'MyToolbar',
filebrowserBrowseUrl : '/ckfinder/ckfinder.html',
filebrowserImageBrowseUrl : '/ckfinder/ckfinder.html?type=Images',
filebrowserFlashBrowseUrl : '/ckfinder/ckfinder.html?type=Flash',
filebrowserUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
filebrowserImageUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
filebrowserFlashUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'
}
);
</script>
<p><input type="submit" value="Submit" name="B1"/><input type="Reset" value="Reset" name="B2"/></p>
</form>
Here is the config.js. I added the Media embed. I tried it without the media embed and it still won't show my toolbar. What am I doing wrong?
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.extraPlugins = 'MediaEmbed';
config.extraPlugins = 'imageuploader';
config.toolbar = 'MyToolbar';
config.toolbar_MyToolbar =
[
['Cut','Copy','Paste','PasteFromWord','-','SpellChecker'],
['Undo','Redo','-','Find','Replace'],
['NumberedList','BulletedList','Outdent','Indent','Blockquote','RemoveFormat','Source'],
['Link','Unlink'],
['uploader','Table','HorizontalRule','SpecialChar'],
'/',
['Bold','Italic','StrikeThrough','-','Subscript','Superscript'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Format','FontSize'],
['FitWindow','ShowBlocks'],
['MediaEmbed']
];
};

Re: custom toolbar won't show
Thanks, Heidi