I've tried to customize the toolbar to only include Bold, Italic and Underline, but the Underline button never appears. This is how I'm trying to do this:
CKEDITOR.config.toolbar_Basic = [
['Bold', 'Italic', 'Underline']
];
CKEDITOR.replace('editor', {
toolbar: 'Basic'
});
But only Bold and Italic buttons are shown.
I've also tried loading the basicstyles group, which should include the Underline button, but it isn't appear.
CKEDITOR.replace('editor', {
toolbarGroups: [
{name: 'basicstyles', groups: 'basicstyles'}
]
});
I'm I doing something wrong, or is this a bug?
Thanks!
Other missing buttons
For me, there appear to be a number of buttons that are not available, including: Find, Replace, Select All, Font Color, Font Size. Maybe the terms have changed for these buttons or perhaps they are not supported in version 4? I've searched all through the documentation for a list of every possible toolbar button, but couldn't find a simple place to see all possible toolbar buttons and their designations. I'm sure I'm missing it. Can someone help?
I have the exact same issue
I have the exact same issue as cm_juan. Any solution?
Workaround
For me, I found a workaround for this. In config.js ckeditor root, I commented the last line:
// Remove some buttons, provided by the standard plugins, which we don't
// need to have in the Standard(s) toolbar.
//config.removeButtons = 'Underline,Subscript,Superscript';
By doing that, the underline button appeared in the toolbar.
Hope this helps!
Minification
Hi,
This is defined in standard-ckeditor-config.js in the presets for minification
You can change this file and remove the uderline from the removedButtons and by minification, the desired buttons will be set in the config.js for standard, including the underline
For minification instructions you can check
https://github.com/ckeditor/ckeditor-presets
Hope this helps as well :)