Add a button to tinyMCE editor on Custom Post Type

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.

Read More

Thanks in advance,

Related posts

Leave a Reply

2 comments