Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 21, 20186 yr Hi, so, I've disabled the font size for the text editor because people abuse it pretty easily - by making text too huge to the point the page breaks. Is it possible to make it where they can only go so big with the font size? Thanks
December 21, 20186 yr ACP> Customizations> Themes> Your skin> Templates tab> globalTemplate Add this to the end of the template (change the px sizes to whatever you want)- <script> $( document ).ready(function() { if( typeof(CKEDITOR) !== "undefined" ) { CKEDITOR.config.fontSize_sizes = '12/12px; 14/14px; 16/16px; 18/18px'; } }); </script>
December 22, 20186 yr The best option would be to have this button in the editor: Is there such an addon for CKEditor 4?
December 22, 20186 yr Or just remove the type size selector button altogether. I do that on all my sites. In discussions I see no reason whatsoever to use different sizes.
Archived
This topic is now archived and is closed to further replies.