Is there anyway to remove the font-family and font-color buttons from rich editor? I really don't want these enabled! Any suggestions?
Is there anyway to remove the font-family and font-color buttons from rich editor? I really don't want these enabled! Any suggestions?
In the latest development version (1.7b), you can do this:
function configure_fee_nicedit($config) {
$config['buttonList'] = array(
'bold', 'italic', 'strikethrough',
'left','center', 'right',
...
);
return $config;
}
add_filter('front_end_editor_nicedit', 'configure_fee_nicedit');
See the available Configuration Options.
Thanks - but this doesn't seem to be working for me. I've put the function into functions.php but the editor is still showing your default buttons. Here's exactly what I have but it is not working:
function configure_fee_nicedit($config) {
$config['buttonList'] = array('bold','italic','left','center','right');
return $config;
}
add_filter('front_end_editor_nicedit', 'configure_fee_nicedit');BTW I am using Version: 1.7b
Sorry, I meant to say 1.7b2. It should be available in 15 minutes, still as "Development Version".
Got it. Thanks!
This topic has been closed to new replies.