[pmwiki-users] adding a drop down menu to edit toolbar

tamouse mailing lists tamouse.lists at gmail.com
Wed Mar 28 20:51:03 CDT 2012


On Wed, Mar 28, 2012 at 5:26 PM, John Rankin <john.rankin at affinity.co.nz> wrote:
> On 28/03/12 10:31 PM, Brian Tibbels wrote:
>
> Is there a way of adding a drop down menu to the "edit" toolbar.
> I can see how to add buttons but need such a menu to add many items
> compactly.
>
> Seconded! In my case, adding 3 levels of heading as a drop-down.
>
> JR
>
> --
> John Rankin
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>

Take a look at Site.EditForm, you'll see a line like:

  (:input e_form:)[[#top]](:e_guibuttons:)\\

You could write your own markup page directive to do the thing you
want instead of the e_guibuttons directive. The markup code for
e_guibuttons is in scripts/guiedit.php.



More information about the pmwiki-users mailing list