Home › Forums › ACF PRO › How to modify WYSIWYG toolbar settings? › Reply To: How to modify WYSIWYG toolbar settings?
For visual configuration purpose i would take a look at the tinymce advanced plugin. and about the font example you’ve asked for i would try something like that (untested)
function tweek_mce( $init ) {
$init['fontsize_formats'] = "8pt 10pt 12pt 14pt 18pt 24pt 36pt";
return $init;
}
add_filter('tiny_mce_before_init', 'tweek_mce');
place it inside the functions.php. no acf needed in that particular case. best regards ralf
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.