How To Change the WordPress QuickTags Toolbar

Back when I wrote my post on How To Add Text Highlighting To Your Blog I mentioned I’d like to add a button to WordPress editing quicktags tool bar. Well I finally go around to trying to figure out how.

Here’s a great webpage on how to edit the WordPress QuickTags.

I added this function to the quicktags.js file

edButtons[edButtons.length] =
new edButton('ed_highlight'
,'highlight'
,'<span class="highlight">'
,'</span>'
,'h'
);

I also moved some stuff around and deleted the lookup quicktag.

One thought on “How To Change the WordPress QuickTags Toolbar”

Comments are closed.