Visual editor for replies not working
-
Since the latest update to 2.6.0 I’ve noticed that I am unable to click into the visual editor on replies to posts. Text tab works but the text area for the visual editor isn’t working at all. I can’t click into the space and type anything there. I’m using the following code to use the visual editor…
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' );function bbp_tinymce_paste_plain_text( $plugins = array() ) {
$plugins[] = 'paste';
return $plugins;
}
add_filter( 'bbp_get_tiny_mce_plugins', 'bbp_tinymce_paste_plain_text' );function bavotasan_bbpress_upload_media( $args ) {
$args['media_buttons'] = true;return $args;
}
add_filter( 'bbp_after_get_the_content_parse_args', 'bavotasan_bbpress_upload_media' );function add_theme_caps() {
$role = get_role( 'subscriber' );
$role->add_cap( 'upload_files' );
}add_action( 'admin_init', 'add_theme_caps');
- You must be logged in to reply to this topic.