After all, Im using :
- WP : 5.0.2
- bbPress plugin : 2.5.14
- Theme : Custom (built with _S)
Im trying to build a custom tinyMCE menubar in my forums. I disabled the text editor and get to a pretty nice ending, but I don’t know why, I just can’t display the "media" and the “emoticons” button.
Here is my code :
function bbp_enable_visual_editor( $buttons = array() ) {
$buttons['quicktags'] = false;
$buttons['tinymce'] = array(
'toolbar1' =>'bold, italic, underline, strikethrough, blockquote, bullist, numlist, link, unlink, cleanup, media, image, emoticons');
return $buttons;
}
add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
As you can see on the image below, almost everything is working fine, except for the media / emoticons buttons ... After checking many topics, I didn't really find someone with that issue, all their codes are working fine, and I find that a bit weird. Any idea ?
Cheers,
Champy.