Normaly when installing CKEditor is has (for me) to many options. CKEditor has a simple option for you to choose which button to show on the toolbar and which not to show.
(need help on the installation of CKEditor?)
Simply go to config.js in the root of the ckeditor directory add some lines like this:
CKEDITOR.editorConfig = function( config )
{
config.toolbar = 'cms_toolbar';
config.toolbar_cms_toolbar =
[
['Source','-','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Image','Table','HorizontalRule','Smiley','SpecialChar'],
'/',
['Styles','Format','Font','FontSize'],
['TextColor','BGColor'],
['Maximize', 'ShowBlocks','-']
];
};
Of course here’s the place where you can add/change your own options. Then after that, let the editor know you want to use this toolbar:
<asp:TextBox ID="txtPageContent" TextMode="MultiLine" runat="server">
</asp:TextBox>
<script type="text/javascript">
CKEDITOR.replace('siteContentHolder_txtPageContent',{toolbar:'cms_toolbar'});
</script>
That’s it, if you have any questions just leave a comment!