[Plugin: AddQuicktag] Is caption adding possible?
-
I was wondering if there was a way to add a caption button that would ask for three things:
1. {link} = location of image file
2. {title} = title of image file
3. {align} = alignment (left|right|center|none)with these params it should output:
[caption caption="{title}" width="200" align="align{align}"]<a href="{link}" title="{title}"><img src="{link}" width="200" alt="{title}" /></a>[/caption]of course, for complete functionality it should also ask for width, but since i want all my captions 200px, i don’t really need that.
Now would that be possible?
I know it cannot be done with your plugin as is.
I was wondering how the quicktags.js would look for such a button…
The topic ‘[Plugin: AddQuicktag] Is caption adding possible?’ is closed to new replies.