I'm using a custom toolbar (toolbar: [ ['Undo', 'Redo'], ['Find', 'Replace']] etc) for my ckeditor and have created a widget. I can get the widget button to show if I use the standard "insert" toolbar group. But I can't find a way to put the specific widget button in to my custom toolbar definition. Can anyone help me figure out if this is possible? I've found that I can create my own custom button separetly, but that means I have to target a specific editor and it also seems like it might be an unnecessary step. Is it possible to directly put a widget button into the toolbar just like I add the other buttons?
Thu, 10/16/2014 - 23:43
#1
Nevermind, I've got this
Nevermind, I've got this working as expected now. You just use the plugin name as the button name except you need to capitalize the first letter of the plugin name: 'simplebox' becomes 'Simplebox' in the toolbar definintion.
You can find good article
You can find good article about your question at - http://ajithmanmadhan[dot]wordpress[dot]com/2009/12/16/customizing-ckeditor-and-adding-a-new-toolbar-button/