TinyMCE for topics and replies
-
I have enabled the Visual Editor for topics and replies using the following:
function bbp_enable_visual_editor( $args = array() ) { $args['tinymce'] = true; return $args; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
The problem is that only administrator can add text-colors font-styes and other things like that.
I am getting html format when a subscriber uses colors and font-styles
<span style=”color: #00ff00;”><span style=”font-family: ‘book antiqua’, palatino, serif;”>wfwffwwf</span></span>
WP Version 4.9.8
bbPress Version 2.5.14I would really appreciate any help,
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.