Limited Support
Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.
We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!
Merry Christmas and Happy Holidays! 🎄
Jan 21, 2024 8:29 pm
Is there a way of not allowing forum users to change the font size?
2 Replies
Jan 22, 2024 6:31 am
Hi @marsm,
If you're talking about the editor font size, then you can disable it using this code in the Code Snippets plugin:
function wpforo_custom_editor_toolbar( $settings ){
if( isset($settings['tinymce']['toolbar1']) ){
$settings['tinymce']['toolbar1'] = 'bold,italic,underline,strikethrough,forecolor,bullist,numlist,hr,alignleft,aligncenter,alignright,alignjustify,link,unlink,blockquote,pre,wpf_spoil,undo,redo,pastetext,source_code,emoticons,fullscreen';
}
return $settings;
}
add_filter('wpforo_editor_settings', 'wpforo_custom_editor_toolbar', 12);