[wp-hackers] Center in WP 2.7 with different code in the editor

Jeremy Clarke jer-wphackers at simianuprising.com
Wed Jan 14 19:12:29 GMT 2009

This ties in to the recent discussion about adding buttons to the
tinymce editor. IMHO you should leave the existing button alone and
add a new one that does what you want. I wish there was an api for
adding simple buttons like this, as people have so many different
reasons to use simple tag wrapper buttons when posting. Something

wp_add_tinymce_button($before_text, $after_text, $button_image);

I've added it to the Wordpress Ideas thing because I dream of it:

Jeremy Clarke | http://simianuprising.com
Code and Design | http://globalvoicesonline.org

More information about the wp-hackers mailing list