[dokuwiki] editing the editor

  • From: Sander Tekelenburg <tekelenb@xxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 18 Jul 2006 14:02:54 +0200

Hello,

I'd like to remove the non-semantic HTML-generator functions (well, the Edit
Toolbar buttons at least) from Dokuwiki. I try that by removing them from the
$menu array of the function toolbar_JSdefines() in inc/toolbars.php, but
those changes are ignored -- the buttons continue to show up when you edit a
page. What am I missing? (Is there a better way to go about this?)


To be clear, I changed

$menu = array(
       array(
            'type'   => 'format',
            'title'  => $lang['qb_bold'],
            'icon'   => 'bold.png',
            'key'    => 'b',
            'open'   => '**',
            'close'  => '**',
            ),
        /* etc */

into

$menu = array(
       array(
            'type'   => 'format',
            'title'  => $lang['qb_h1'],
            'icon'   => 'h1.png',
            'key'    => '1',
            'open'   => '====== ',
            'close'  => ' ======\n',
            ),
        /* etc */


-- 
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts:

  • » [dokuwiki] editing the editor