I have two problems with the CKEditor.
First I wanted to customize the toolbar of the CKEditor. In my opinion I followed the steps of the CKEditor manual http://docs.cksource.com/CKEditor_3.x/D ... de/Toolbar
My config.js file looks as follows:
Code: Select all
CKEDITOR.editorConfig = function( config )
{
config.toolbar = 'MyToolbar';
config.toolbar_MyToolbar =
[
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
'/',
['Styles','Format'],
];
CKEDITOR.replace( 'editor1',
{
toolbar : 'MyToolbar'
});
};
Did I forget anything? Did I make a configuration error?
Second I wanted to exchange the CKEditor 3.4.2 with the newer version 3.5.2.
Therfore I downloaded the new version, copied it into the directory <OTRS_HOME>/var/httpd/htdocs/js/thirdparty/ and changed the rights for the otrs user.
Furthermore, I changed the sysconfig entry Frontend::RichTextPath of Framework -> Core::Web to "<OTRS_CONFIG_Frontend::WebPath>js/thirdparty/ckeditor-3.5.2/"
Now the editor window disappeared (please find a screenshot attached).
Does anybody have an idea what I have done wrong?
Thanks in advance!
I appreciate any help.
Greetings
Markus