tandraschko wrote: ↑20 Apr 2012, 15:14
Hey,
we use it like this:
customConfig="#{request.contextPath}/js/config/ckeditor.js"
and it's working. Can you try to add #{request.contextPath}? Also check if the file is really available in your WAR.
Regards,
Thomas
Hi ,
I downloaded resources-ckeditor-6.2.RC1 and its working . However , i want to customize with less plugins
should i do like this customConfig="/ckeditor/config.js ? will it work? its not going inside script file...
Please suggest . do i need to overrider ckeditor.js?
CKEDITOR.editorConfig = function( config )
{
alert('inside');
config.removePlugins = 'elementspath';
config.toolbar = [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ], items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ], items: [ 'Scayt' ] },
{ name: 'links', items: [ 'Link', 'Unlink', 'Anchor' ] },
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'others', items: [ '-' ] },
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ], items: [ 'Bold', 'Italic','Underline', '-', 'RemoveFormat' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align' ], items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent' ] },
{ name: 'styles', items: [ 'Styles', 'Format', 'Font','FontSize' ] }
];
}