[wp-hackers] Re: Editor button cusotmizations

John Blackbourn johnbillion+wp at gmail.com
Thu Apr 12 21:27:36 GMT 2007


Elliotte,

A quick and dirty way of removing QuickTag buttons is to do it with
CSS. Create a plugin which uses the 'admin_head' hook to insert a
style declaration similar to this:

<style type="text/css">
#ed_del, #ed_ins, #ed_spell { display:none; }
</style>

You can get the IDs of all your current input buttons by viewing the
source of the admin screen (or probably from quicktags.js too).

Regards, John


More information about the wp-hackers mailing list