register_hook('TOOLBAR_DEFINE', 'AFTER', $this, 'insert_button', array ()); } /** * Inserts the toolbar button */ function insert_button(Doku_Event $event, $param) { $event->data[] = array( 'type' => 'format', 'title' => 'Vertikaler Text generieren', 'icon' => '../../plugins/textrotate/textrotate.png', 'sample'=> 'Vertikaler Text', 'open' => '!!', 'close' =>'!!', 'insert'=>'', ); } }