My first working bbcode plugin is here
plugin.js
but when I add second plugin like first plugin (for example [code] ) , one plugin working not two plugin work.
please help me.
thank you.
plugin.js
CKEDITOR.plugins.add( 'php',
{
init: function( editor )
{
editor.addCommand( 'eklePhp',
{
exec : function( editor )
{
editor.insertHtml( '[PHP] [/PHP]' );
}
});
editor.ui.addButton( 'Php',
{
label: 'Insert Php',
command: 'eklePhp',
icon: this.path + 'images/php.gif'
} );
}
} );but when I add second plugin like first plugin (for example [code] ) , one plugin working not two plugin work.
please help me.
thank you.

Re: How can I add second plugin?
viewtopic.php?f=18&t=25546
config.htmlbuttons = [ { name:'eklePhp', icon:'images/php.gif', html:'[PHP] [/PHP]', title:'Insert Php' }, { name:'ekleJava', icon:'images/java.gif', html:'[Java] [/Java]', title:'Insert Java' } ];Re: How can I add second plugin?