Hello!
Does anybody know how to remove buttons from the CKEDITOR v.3 (rich text editor) used in Apex 4.x?
Currently I am hiding the unwanted elements using CSS.
However, there's alledgedly an option to customize and use your own toolbar with ckeditor.
Therefore I added the following code to the /i/libraries/ckeditor/3.2/config.js:
CKEDITOR.editorConfig = function( config )
{
config.toolbar = 'MyToolbar';
config.toolbar_MyToolbar =
[
['NewPage','Preview'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Image','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
'/',
['Styles','Format'],
['Bold','Italic','Strike'],
['NumberedList','BulletedList','-','Outdent','Indent'],
['Maximize','-','About']
];
};
CKEDITOR.replace( 'MyToolbar',
{ toolbar:'MyToolbar' }
);
Nevertheless, the toolbar doesn't change at all. I have been reading hours now and was hoping for someone who figured it out!
Many thanks,
Sebastian