How can I add a custom button to the post editor toolbar?

I’d like to add a button the the WordPress editor’s toolbar. When clicked, I want to open a modal dialog (exactly like what you get when you click the “Paste from Word” icon).

This might be more than one question, so the first question I have is what code to I need to add to my theme’s functions.php to place the button with a click event that opens a modal window similar to the Word dialog?

Related posts

Leave a Reply

2 comments