[pmwiki-devel] How to create a GUIEdit button using Javascript
Randy Brown
randy at brownragfilms.com
Fri Sep 19 14:49:31 CDT 2014
Thanks, Peter.
It would be much cleaner if escapes could be defined or if there could be some other way to get around this problem. Buttons that allow interesting javascript would let us create buttons to put divs or conditionals with matching numbers into the markup.
Just a thought for the developers. Maybe this should be a PITS entry.
Randy
On Sep 19, 2014, at 4:37 AM, Peter Bowers <pbowers at pobox.com> wrote:
> I don't think there's an easily configurable way to do this (i.e., nothing as simple as adding something to $GUIButtons - insButton() doesn't support executable javascript code due to quoting). However, in the spirit of fairly messy code that seems to work, try this in config.php:
More information about the pmwiki-devel
mailing list