Should the WP post editor B (bold) button be inserting a tag instead of in HTML5?
Here’s what I came up with. So far it doesn’t seem to have broken anything: add_filter(‘tiny_mce_before_init’, ‘modify_formats’); function modify_formats($settings){ $formats = array( ‘bold’ => array(‘inline’ => ‘b’), ‘italic’ => array(‘inline’ => ‘i’) ); $settings[‘formats’] = json_encode( $formats ); return $settings; } One could easily have used plus a class here, but given the changes in … Read more