Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
seba stian Posted December 21, 2018 Posted December 21, 2018 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
Genestoy Posted December 21, 2018 Posted December 21, 2018 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>
Yamamura Posted December 22, 2018 Posted December 22, 2018 The best option would be to have this button in the editor: Is there such an addon for CKEditor 4?
opentype Posted December 22, 2018 Posted December 22, 2018 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.