Visual/Text tabs in wp editor Not Showing

Without seeing your code I can’t say whats wrong but here is a working (tested) example of a metabox with an editor inside that has the visual/text tabs.

add_action( 'add_meta_boxes',  function() { 
    add_meta_box('html_myid_61_section', 'Meta Box Title', 'my_custom_meta_function');
});

function my_custom_meta_function( $post ) {
    $text= get_post_meta($post, 'my_custom_meta' , true );
    wp_editor( htmlspecialchars_decode($text), 'mettaabox_ID', $settings = array('textarea_name'=>'inputName') );
}

add_action( 'save_post', function($post_id) {
    if (!empty($_POST['inputName'])) {
        $data=htmlspecialchars($_POST['inputName']); 
        update_post_meta($post_id, 'my_custom_meta', $datta );
    }
}); 

Consider This…

I don’t often recommend plugins BUT I would STRONGLY suggest using Advanced Custom Fields for stuff like this. Its easy to learn and will save you time and frustration! You can make professional admin layouts very fast.