How do I go about adding a simple button to tinymce on the default editor area of my new Custom Post Type?
I'd like the button, when clicked, to ask for a text value. The script should then lowercase the input and replace spaces with hyphens, and insert [glossary=value-entered] into the editor.
Thanks in advance,