Support » How-To and Troubleshooting » [Resolved] Custom TinyMCE button
5 years, 9 months ago
I’m trying to add a button to the Rich Text Interface. I used the codex code, but it’s not working:
[Code moderated as per the Forum Rules. Please use the pastebin]
Here’s the code I used: http://wordpress.pastebin.com/GCr1tMgZ
I do get the text button in the html editor, but in the rich text editor I get nothing.
Here’s the tinymce plugin code:
Just in case anyone is having similar problems, I found this article that has a simple plugin you can change to do what you want.
I just modified it slightly, and it did everything I needed.
TinyMCE Custom Buttons & Shortcode Example