Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Washerhelp Posted March 29, 2019 Posted March 29, 2019 Hello. I keep getting the occasional warning from Google that certain pages on my forum have failed the mobile friendly test. Specifically, text too small to read. I just looked at one of these pages and the original poster has altered the text size to make it smaller. Why anybody would do this is a complete mystery. I can understand someone increasing the font size to make it easier for them to read -although any replies would be in the default font anyway so pretty pointless. So my question is is it possible to prevent members from altering the text sizes when they are posting? Or at the very least is it possible to specify a minimum font size?
steve00 Posted March 29, 2019 Posted March 29, 2019 31 minutes ago, Washerhelp said: Hello. I keep getting the occasional warning from Google that certain pages on my forum have failed the mobile friendly test. Specifically, text too small to read. I just looked at one of these pages and the original poster has altered the text size to make it smaller. Why anybody would do this is a complete mystery. I can understand someone increasing the font size to make it easier for them to read -although any replies would be in the default font anyway so pretty pointless. So my question is is it possible to prevent members from altering the text sizes when they are posting? Or at the very least is it possible to specify a minimum font size? Not tested but believe can remove the font size button from within adminCP >> themes (paint brush icon on left) under the editor heading select toolbars left click the size button and select which groups can see this button
Washerhelp Posted March 29, 2019 Author Posted March 29, 2019 Excellent Steve. Thanks, that seems to have done the trick. I've removed the font size and the font colour option (I hate it when every so often someone posts something all in red). And a bonus was, I found a preview option.
Adriano Faria Posted March 29, 2019 Posted March 29, 2019 Remember that the user can still paste a text already formatted. For this specific issue, there’s a setting in the editor, if i’m not mistaken, to define the behavior or pasted content.
Jim M Posted March 29, 2019 Posted March 29, 2019 Yes, Adriano is correct. In ACP -> Customization -> Editor -> Settings -> Paste Behavior. You can define how you wish pasted text to keep formatting or not.
Joel R Posted April 1, 2019 Posted April 1, 2019 I support the idea by @Jim M where you can control the behavior when users paste text. This happens a lot on my community when users try to copy / paste text and it retains the original formatting. By adjusting the Paste Behavior, you can remove all formatting.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.