Using the new CKE4 Standard download, I'm trying to add the font color and background color buttons.
The help documents mention toolbar grouping but I'm not sure how to implement this for the standard download.
Please advise.
I REALLY like CKE4!
Using the new CKE4 Standard download, I'm trying to add the font color and background color buttons.
The help documents mention toolbar grouping but I'm not sure how to implement this for the standard download.
Please advise.
I REALLY like CKE4!
If colorbutton plugin was
If colorbutton plugin was included in your package and you were using default editor configuration you would have font and bg color buttons automatically placed in toolbar. This is how toolbarGroups works if you don not modify it.
However, if you want to change the toolbarGroups setting to rearrange toolbar layout then in order to have color buttons in toolbar you need to use 'colors' group. E.g.:
CKEDITOR.replace( 'editor1', { toolbarGroups: [ { name: 'colors' }, // two color buttons { name: 'basicstyles' } // bold, italic, etc. ] } );But remember - you have to have colorbutton plugin included. It is not included in basic and standard packages. You can use our online builder to add it.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+