I am using Drupal 6 with CKEditor and I would like to add some custom styles to the dropdown box that is currently labeled ‘Format’. I looked at ckeditor.config.js and found the following [‘Format’] but saw none of the options such as Normal, formatted, address, etc. under it. I then looked at config.js and only saw:
/*^M
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.^M
For licensing, see LICENSE.html or http://ckeditor.com/license^M
*/^M
^M
CKEDITOR.editorConfig = function( config )^M
{^M
// Define changes to default configuration here. For example:^M
// config.language = 'fr';^M
// config.uiColor = '#AADC6E';^M
};^M
I’m really not sure where else to look, any suggestions are appreciated.
Mon, 07/25/2011 - 20:03
#1
Re: Modify CKEditor “Format” Dropdown Box
Have a look at CKEditor API, config section: http://docs.cksource.com/ckeditor_api/s ... onfig.html, "CKEDITOR.config.format_X" values.
The format_tags setting is your friend that explains how to customize the Format drop-down list.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!