planewrench Posted September 18, 2013 Share Posted September 18, 2013 (edited) I modified the default font size in TinyMCE, yet the toolbar does not reflect that change correctly. I followed the instructions that Vekia suggested in this thread: http://www.prestashop.com/forums/topic/258596-solved-modify-default-font-sizes-in-tinymce/and changed 8pt to 9pt in the file: js/tinymce.inc.jsfrom this:font_size_style_values : "8pt, 10pt, 12pt, 14pt, 18pt, 24pt, 36pt", to this:font_size_style_values : "9pt, 10pt, 12pt, 14pt, 18pt, 24pt, 36pt", The toolbar still displays 8pt as the first selection, When using the 1(8pt) selection, it is formatting the text at 9pt. I have other folks using the back office, and would like to change the drop-down toolbar to correctly indicate the actual fontsize of 9pt.I'm running Prestashop version 1.5.5.0. Attached is a screen-shot : Thank you in advance, I'd also like to thank Vekia for the following tutorial to extend TinyMCE.http://mypresta.eu/en/art/developer/prestashop-product-page-full-rich-editor.html Edited September 18, 2013 by planewrench (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted September 18, 2013 Share Posted September 18, 2013 just add additional param (in tinymce object setup) theme_advanced_font_sizes : "9px,10px,12px,14px,18px,24px,36px", 1 Link to comment Share on other sites More sharing options...
vekia Posted September 18, 2013 Share Posted September 18, 2013 effect: 1 Link to comment Share on other sites More sharing options...
planewrench Posted September 18, 2013 Author Share Posted September 18, 2013 (edited) Thank You Vekia! Works like a champ! You are saving me loads of time....Your the man!! One more question, how do I make this the default font size? Edited September 18, 2013 by planewrench (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 18, 2013 Share Posted September 18, 2013 default font size is based on default font size in your theme 1 Link to comment Share on other sites More sharing options...
planewrench Posted September 18, 2013 Author Share Posted September 18, 2013 Thank You Vekia! Link to comment Share on other sites More sharing options...
Recommended Posts