var nicEditorExampleButton = nicEditorButton.extend({ mouseClick : function() { alert('Пример значка кнопки сохранения был нажат!'); } });