In the guide it does say this.
—-
Use this function below instead with new argument added to be able to add new media like the emoticon button.
function bbp_enable_visual_editor( $args = array() ) {
$args['tinymce'] = true;
$args['teeny'] = false;
return $args;
}
add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
Please note that if you disable the teeny mode in the visual editor and allow other media buttons through the TinyMCE Advanced plugin, you will probably need to add on to this function and put it into your child theme functions.php file to allow your users to use some of the buttons like the table button.
I don’t know the arguments for the different buttons though?
You did add this argument right?? Having this at false shows the full editor. Some button may be not usuable for the forums though, so you need to move them around in the TinyMCE advanced plugin settings.
$args['teeny'] = false;
Wow, I’m sorry. I didn’t realize I had forgotten this line.
I noticed the second line I had in my code was to disable the HTML editor, not teeny. However, is it possible to display the HTML editor only for moderators and above?
i us plugin “bbPress Enable TinyMCE Visual Tab” 😀
I tried the code above and I get all the buttons.
But it is missing the Insert Image button.
After using the code tweak ($args['teeny'] = false;
) I was then able to use this snippet:
add_filter("mce_buttons", "tinymce_editor_buttons", 99); //targets the first line
​
function tinymce_editor_buttons($buttons) {
return array(
"formatselect",
"bold",
"italic",
"underline",
"bullist",
"numlist",
"blockquote",
"justifyleft",
"justifycenter",
"justifyright",
"code",
"link",
"unlink",
"image",
"wp_adv"
//add more here...
);
}