Hook into bbPress teeny MCE?
-
I need to add a button to bbPress instance of the teeny MCE.
I’ve used the following code to test how my mce plugin work:
// add new buttons add_filter('mce_buttons', 'myplugin_register_buttons'); function myplugin_register_buttons($buttons) { array_push($buttons, 'separator', 'myplugin'); return $buttons; } // Load the TinyMCE plugin : editor_plugin.js (wp2.5) add_filter('mce_external_plugins', 'myplugin_register_tinymce_javascript'); function myplugin_register_tinymce_javascript($plugin_array) { $plugin_array['myplugin'] = plugins_url('/js/tinymce-plugin.js',__FILE__); return $plugin_array; }
This works like it should on the admin side.
I can’t wrap my head around how to get the same principle to work for bbPress instance of teeny mce. Which filter/action do I need to use and where? I’ve tried using the teeny_mce_buttons filter without any luck.
WP 4.2.4, bbPress 2.5.8
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.