Support » Plugins and Hacks » TinyMCE Advanced » [Resolved] Last theme_advanced_fonts not working

[Resolved] Last theme_advanced_fonts not working

  • Hi,

    I have added a number of font-families using functions.php with the following code:

    function customize_text_sizes($initArray){
       $initArray['theme_advanced_font_sizes'] = "16px, 20px, 25px, 30px, 38px";
       $initArray['theme_advanced_fonts'] = "Light=HelveticaNeueLTStd-Lt;";
       $initArray['theme_advanced_fonts'] .= "Bold=HelveticaNeueLTStd-Bd;";
       $initArray['theme_advanced_fonts'] .= "Roman=HelveticaNeueLTStd-Roman;";
       return $initArray;
    add_filter('tiny_mce_before_init', 'customize_text_sizes');

    I am able to see the fonts okay in the drop down for font families and selecting the fonts adds in the span tag. However the last entry in the array never seems to work. The font-family is not added to the span tag.

    Any help resolving this would be great.




Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Last theme_advanced_fonts not working’ is closed to new replies.
Skip to toolbar