How To Change the WordPress QuickTags Toolbar

on

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 Comment

  1. dvg says:

    I’ve written a WordPress plugin that handles all of this for you.

    http://www.davidgagne.net/2009/03/25/wordpress-wednesday-amazon-quicktags-plugin/

    Good luck!

    (trying again)

    dvgs last blog post..WordPress Wednesday: Amazon QuickTags Plugin

Comments are closed.