Screenshot of the editor with the current theme: https://prnt.sc/OGoHLm7phUDj
Screenshot of the editor with the new theme: https://prnt.sc/bkpOA3vr1DtQ
What should I add in the functions.php?
CodePudding user response:
I did find a solution after a lot of searching and attempts, and I'll post it here for anyone facing the same issue,
function my_format_TinyMCE( $in ) {
$in['plugins'] = 'wpeditimage,wpautoresize,tabfocus,paste,media,fullscreen,wordpress,wpgallery,wplink,wpdialogs';
$in['toolbar2'] = '';
return $in;
}
add_filter( 'tiny_mce_before_init', 'my_format_TinyMCE' );