I am having trouble with adding buttons for a custom command. I am adding via a plugin.js file in its own directory and including the necessary info in the config.js file.
Questions are:
1. How can I just use text on the button? I have only been successful in using icon: this.path + 'icon.png' in the button definition.
2. How can I use a button other than a 16x16 image. I seem to be restricted to this with no sizing options.
3. Where can I find documentation on what a button definition is? In the documentation http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.ui.html#addButton there is reference to a button definition, but no where does it describe a button definition. I have found through some examples that label, icon, command, and className are parameters; but, I have no way to know if there are others and cannot find this information anywhere. If this type of information were available I may be able to figure out things better and faster.
Mon, 05/14/2012 - 18:25
#1
Re: Formatting custom button / commands
Information on custom plugins and icons can be found in our tutorial section.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!