Hello,
l try to add tinymce editor in the commens section but it dont work
But it work with the theme “twentyfourteen”.
Anyone have a idea how to fix that ?
http://www.gavick.com/magazine/tinymce-editor-in-the-comments-section.html
function gk_comment_form( $fields ) {
ob_start();
wp_editor( '', 'comment', array( 'teeny' => true ));
$fields['comment_field'] = ob_get_clean();
return $fields;
}
add_filter( 'comment_form_defaults', 'gk_comment_form' );