[wp-hackers] Editor button cusotmizations

Austin Matzko if.website at gmail.com
Tue Apr 10 16:57:53 GMT 2007

On 4/10/07, Elliotte Harold <elharo at metalab.unc.edu> wrote:
> Would it be plausible to modify this list with a plug-in? I.e are there
> sufficient hook to write a WordPress plug-in that changes these? Or
> would it require forking the main code base?

It's fairly simple with a little JavaScript.  Take a look at the
wp-includes/js/quicktags.js file to see how to create new buttons
(basically define a new edButton); The buttons are all children of a
div with id "ed_toolbar", so once you grab it you can append and
remove buttons.

More information about the wp-hackers mailing list