[dokuwiki] Re: syntax plugin match getter and setter

  • From: Spring Pierre <pierre.spring@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 1 Sep 2008 10:53:20 +0200

hi gerry,

does that mean that syntax plugins will have to be changed to be supported by the DokuFCKW?

basically, the patch i submitted will set the the parsed match to the syntax plugin object.

then, within my renderer, i will be able to overwrite the Doku_Renderer->plugin() method to just output s.th. like

    <code style="plugin">
        // will return s.th. like "{{navi>navigationmenu}}"
        $this->getMatch();
    </code>

this will then be processed correctly, when transforming the wzsiwyg xhtml back to DW syntax.

But: I dont know how your fersion 2.0 works basically - but can' you trigger a render event via AJAX to get the correct output form DW itself instead of rendering your own?

i actually inherit from the Doku_Renderer_xhtml class and only overwrite the necessary methods.

yours ... pierre
==
PS: andy: did you miss the patch? should i include "PATCH" in the subject next time?
--
Liip AG // Rte de la Fonderie 7 // CH-1700 Fribourg
Fon 026 4222511 // Key id 0x5BF5F8FA // www.liip.ch




Other related posts: