@ tyee: So what I have done is:
My version looks like this:
Start at the line 286. My code looks like this:
THAT'S ALL: And the screenshot in the control panel with the toolbar looks like this:
- Download the newest version of the CKEditor from the official homepage: http://ckeditor.com/download
- Unzip this in any folder on your computer
- Open the file: "config.js" in the ckeditor mainfolder and look at the code:
My version looks like this:
Code:
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
config.uiColor = '#F5EDD7';
CKEDITOR.config.toolbar = [
['NewPage','Templates','Source','-','Maximize','ShowBlocks','-','Print','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
'/',
['Styles','Format','Font','FontSize','-','Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
'/',
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','NumberedList','BulletedList','-','Outdent','Indent','Blockquote','-','TextColor','BGColor','-','Link','Unlink','Anchor','-','Image','Flash','Table','HorizontalRule','Smiley','SpecialChar']
];
};
- Then save the file and upload all the files with all subfolders under: /serverpath/admin/template/js/ckeditor
- Now open the "edit.php" file under: /serverpath/admin/
Start at the line 286. My code looks like this:
Code:
<script type="text/javascript" src="template/js/ckeditor/ckeditor.js"></script>
<script type="text/javascript">
var editor = CKEDITOR.replace( 'post-content', {
skin : 'kama',
forcePasteAsPlainText : true,
language : 'de',
defaultLanguage : 'de',
entities : true,
height: '<?php echo $EDHEIGHT; ?>',
});
</script>
- Then save the file and upload and overwrite the same one under: /serverpath/admin/
THAT'S ALL: And the screenshot in the control panel with the toolbar looks like this: