Using the button event type did not work, tried with things like: return { id: 'optionsToggle', type: 'button', className: 'linkOptionsToggle', label: '<span class="arrow arrow-right"></span> ' + CKEDITOR.tools.htmlEncode(editor.localization.get('xwiki-link.options')),