I should add that I would like to do this inside of the editor and not in the page if possible. Is there a way to to modify the common.config to achieve this? I am hoping for something like this in the dropdowns section of the config file:
<CustomItems>
<item text="Inset My Custom"">
<value><script type='text/javascript'>myJsFunction();</script></value>
<html></html>
</item>
</CustomItems>
Any ideas?
Thanks