Meta Box
Support › MB Group › Metabox group wysiwyg
There is an inconsistency between WYSIWYG in normal fields and in repeater/group fields. In group fields RWMB_Wysiwyg_Field::value() should be called for WYSIWYG get similar to how RWMB_File_Field::value() is called for files or images.
Something like
foreach ( $child_fields as $child_field ) { if ( $child_field['type'] === 'wysiwyg') { $new[$child_field['id']] = RWMB_Wysiwyg_Field::value( $new[$child_field['id']], $old, $post_id, $child_field ); } elseif ( in_array( $child_field['type'], array( 'file', 'image' ) ) ) { $value = RWMB_File_Field::value( '', '', $post_id, $child_field ); $new[ $child_field['id'] ] = $value; } }
on line 252 of class-rwmb-group-field.php
Hi,
The file field requires extra code to handle the file uploads. What do you need from wysiwyg field?
A normal wysiwys shows html tags. A wysiwyg in a group does not.