[pmwiki-users] MiniEdit question

Hans Bracker design at softflow.co.uk
Sat Mar 3 06:52:58 CST 2012


Hi Petko,

I am using the Mini gallery with a custom ImgFmt like this
$Mini['ImgFmt'] =
  '<img class="mini" src="%1$s" title="%2$s" alt="%2$s" border="0" />
   <br /><span class="minicaption">%2$s</span> ';

This displays a caption underneath each thumb image.
But when I use a similar $MiniEdit['ImgFmt'] MiniEdit will not work
and not display the caption underneath. MiniEdit seems only to work
if the $MiniEdit['ImgFmt'] is only a single <img ..> element.
Could that be extended to allow formats as above with $Mini['ImgFmt']
?

MiniEdit is really cool for an editor shy to delve into complex
markup!

thanks,
 Hans




More information about the pmwiki-users mailing list