Oh, I see - it's a plugin for TMCE - I was hoping to see an implementation under the WordPress hooks. :-(
The WordPress hooks are really easy :) Both you need are filters:
function add_plugin($arr) { $path = get_option('siteurl') . '/' . PLUGINDIR . /my-folder/plugin.js'; $arr['myplugin'] = $path; return $arr; } add_filter( 'mce_external_plugins', 'add_plugin' ); function add_button($arr) { $arr[] = 'my_button'; return $arr; } add_filter( 'mce_buttons_3', 'add_button' ); _______________________________________________ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers