Fix WYSIWYG editor formatting
-
Found that the WYSIWYG editor was not working properly on the Biography field and outputting raw html. Make the following edit to fix it:
edit: /wp-content/plugins/meet-my-team/admin/includes/Custom-Metaboxes-and-Fields/helpers/cmb_Meta_Box_types.php
around line: 415change this:
wp_editor( self::esc( $meta, 'esc_textarea' ), $field['id'], isset( $field['options'] ) ? $field['options'] : array() );
to this:
wp_editor( $meta, $field['id'], isset( $field['options'] ) ? $field['options'] : array() );
- The topic ‘Fix WYSIWYG editor formatting’ is closed to new replies.