Roots + comment_form_defaults filter


l try to add tinymce editor in the commens section but it dont work :frowning:

But it work with the theme “twentyfourteen”.

Anyone have a idea how to fix that ?

function gk_comment_form( $fields ) {
    wp_editor( '', 'comment', array( 'teeny' => true ));
    $fields['comment_field'] = ob_get_clean();
    return $fields;
add_filter( 'comment_form_defaults', 'gk_comment_form' );

Roots has its own comments form. You should just be able to change the highlighted textarea to your call towp_editor.