I'm trying to add custom buttons into the toolbar. I've written a simple plugin and what i want is to add a labeled button (like the source code button) into the toolbar. Now my plugin uses the following code to add the button:
// Register a plugin named "horizontalrule".
CKEDITOR.plugins.add( pluginName,
{
init : function( editor )
{
editor.addCommand( pluginName, horizontalruleCmd );
editor.ui.addButton( 'placeholder',
{
label : 'placeholder',
icon: 'http://www.ebesucher.de/favicon.ico',
command : pluginName
});
}
});So what should i change to get a labeled button?

Re: Insert big labeled Button into the toolbar
Just add the following code to the head of your document:
<style type="text/css"> <!-- .cke_button_placeholder .cke_label { display : inline !important; } --> </style>