'visual' comment editor?
-
Hi,
Is there any way to get the ‘comment editor’ to work in visual mode, the way the ‘post editor’ does?
With the post editor, I get a nice ‘visual/text’ style rich editor complete with media buttons, but with the comment editor it’s just the plain text editor.
I have tried a few of the suggested hacks but nothing quite worked. In particular, adding this to functions.php…
add_filter( 'wp_editor_settings', 'mx2_editor_settings_filter', 10, 2 ); function mx2_editor_settings_filter( $settings, $id ){ global $pagenow; if( $id=='content' && $pagenow==='comment.php' ){ $settings['media_buttons']=true; $settings['quicktags']=true; $settings['tinymce']=true; } return $settings; }*almost* works, except the text that appears in the editor is ‘pre-escaped’ or something, ie: The visual editor ends up with the html tags in it, and the ‘raw’ text editor ends up with ‘&’ and other ‘escaped html’ in it.
I am running with crayon and bpress plugins which complicates everything, but I’ve been unable to make this work even with all plugins disabled.
Bye!
Mark
The topic ‘'visual' comment editor?’ is closed to new replies.