seba stian Posted December 21, 2018 Share 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 Link to comment Share on other sites More sharing options...
Genestoy Posted December 21, 2018 Share 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> Link to comment Share on other sites More sharing options...
Yamamura Posted December 22, 2018 Share Posted December 22, 2018 The best option would be to have this button in the editor: Is there such an addon for CKEditor 4? Link to comment Share on other sites More sharing options...
opentype Posted December 22, 2018 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.