[jQuery] jTagEditor Custom Callback

[jQuery] jTagEditor Custom Callback


I'm trying to extend jTagEditor to add a image dialog with more fields
(source, title, height, width, etc.). The only problem is that I don't
know how to access any of the jTagEditor functions/properties from
within my callback function so that I can insert my string into the
textarea when my dialog is closed.
The relevant part of the jtag source looks like:
<code>
function tag(button)    {
                get();
                // if it's a function to fire
                if ($.isFunction(eval(button.callBack)))    {
                    eval(button.callBack).call();
                }
etc...
</code>
Does anyone have experience with this? Thanks.
-bennybobw