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,

2 Answers
2

Check out this tutorial on Pro Blog Design: http://www.problogdesign.com/wordpress/user-friendly-short-codes-with-tinymce/

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *