Forum Replies Created
-
AuthorPosts
-
Heave
Participantdang ! that was it, thanks
Heave
Participantdid 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; }Heave
Participantstill have the following error :
wp-tinymce.js?ver=49110-20201110:3 Uncaught TypeError: Cannot read property 'onpageload' of undefined
at wp-tinymce.js?ver=49110-20201110:3
at e (wp-tinymce.js?ver=49110-20201110:3)
at Se.y.bind (wp-tinymce.js?ver=49110-20201110:3)
at Object.M [as bind] (wp-tinymce.js?ver=49110-20201110:3)
at Object.init (wp-tinymce.js?ver=49110-20201110:3)
at n (editor.min.js?ver=5.7.1:2)
at HTMLDocument.<anonymous> (editor.min.js?ver=5.7.1:2)
at C (wp-tinymce.js?ver=49110-20201110:3)
at HTMLDocument.d (wp-tinymce.js?ver=49110-20201110:3)also custom field is directly creater through metabox, no code
Heave
Participantany up ?
Heave
ParticipantAnd only within the same group.
I can create multiple groupe of wysiwyg form the same post type and it works
Heave
ParticipantUpdate it seems to happen when there is multiple wysiwyg custom field
Heave
ParticipantSame problem here.
Using woocommerce.
When i have custom field with wysiwyg, every field switch to text and impossible to swith to visual mode -
AuthorPosts