did swtich every plugin off but woocommerce + mb addon = same result can't switch tab, stick on text and error in console
here is the code
<?php
add_filter( 'rwmb_meta_boxes', 'your_prefix_function_name' );
function your_prefix_function_name( $meta_boxes ) {
$prefix = 'meta_';
$meta_boxes[] = [
'title' => __( 'Custom Field Produit', 'your-text-domain' ),
'id' => 'custom-field-produit',
'post_types' => ['product'],
'priority' => 'low',
'fields' => [
[
'name' => __( 'Texture et goût', 'your-text-domain' ),
'id' => $prefix . 'texture_gout',
'type' => 'textarea',
'required' => 1,
'save_field' => 1,
],
[
'name' => __( 'Contre indications', 'your-text-domain' ),
'id' => $prefix . 'contre_indications',
'type' => 'textarea',
'save_field' => 1,
],
[
'name' => __( 'Mode d’emploi', 'your-text-domain' ),
'id' => $prefix . 'mode_d\'emploi',
'type' => 'wysiwyg',
'save_field' => 1,
],
[
'name' => __( 'Spheres', 'your-text-domain' ),
'id' => $prefix . 'spheres',
'type' => 'wysiwyg',
'save_field' => 1,
],
],
];
return $meta_boxes;
}