Jump to content

[SOLVED] Modified default font size in TinyMCE, but toolbar does not display correctly


Recommended Posts

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.js
from 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 :

post-506563-0-15537800-1379508479_thumb.png

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 by planewrench (see edit history)
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...