Hi,
I'm trying to remove some buttons from the "standard" CKEditor and set the language to "it" but it does not apply.
Here are my changes:
CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. // For the complete reference: // http://docs.ckeditor.com/#!/api/CKEDITOR.config // The toolbar groups arrangement, optimized for two toolbar rows. config.toolbarGroups = [ { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] }, { name: 'links' }, { name: 'insert' }, { name: 'forms' }, { name: 'tools' }, { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, { name: 'others' }, '/', { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align' ] }, { name: 'styles' }, { name: 'colors' } //{ name: 'about' } ]; // Remove some buttons, provided by the standard plugins, which we don't // need to have in the Standard(s) toolbar. config.removeButtons = 'Subscript,Superscript'; // removed Underline from the list config.language = 'it'; };
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here.
// For the complete reference:
// http://docs.ckeditor.com/#!/api/CKEDITOR.config
// The toolbar groups arrangement, optimized for two toolbar rows.
config.toolbarGroups = [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
{ name: 'links' },
{ name: 'insert' },
{ name: 'forms' },
{ name: 'tools' },
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'others' },
'/',
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align' ] },
{ name: 'styles' },
// { name: 'colors' }
{ name: 'about' }
];
// Remove some buttons, provided by the standard plugins, which we don't
// need to have in the Standard(s) toolbar.
config.removeButtons = 'Subscript,Superscript'; // removed "Underline" from the list
config.language = 'it';
};
Please, can you help me to understand how to make it work?
Thanks and best regards,
Lorens

You now use a website feature
We now use a website feature called CKBuilder custom CKEditor before downloading. The language plugin needs to be added through CKBuilder since Standard by default only comes with English. Our documentation on how to customize the toolbar is here.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Thanks sebstefanov,
Thanks sebstefanov,
but I did it. I used the ckbuilder and selected the standard version and italian language in addition to english, because trying to remove english returned me a message it was not possible. So, how can I set the italian language?
In addition, how can I hide some buttons in toolbar? Standard version has too many features but the Basic too less.
All the chages I made in config.js seems are not affecting the ckeditor ar all..
Can you tell me what I'm doing wrong?
Thanks and best regards,
Lorens
Hi all,
Hi all,
I also completely removed the config.js file and it has no effect at all..
Can you help me?
Thanks and best regards,
Lorens
Ok,
Ok,
i was only a cache problem.
Sorry for that. Now everything works fine.
Regards,
Lorens