How to add button in ckeditor toolbar?

How to add button in ckeditor toolbar? The code commands are explained, which explains how this code workes. CKEDITOR.plugins.add(‘addButton’, { init: function(editor) { /* Add Button in CKeditor tool bar */ editor.ui.addButton(‘AddnewButton’, { label: ‘Add New Button’, command: ‘cmdAddButtonDialog’, /*this command invoke function when you click button */ How do Read more…