[horde] Add fonts in ckeditor

A. Schulze sca at andreasschulze.de
Wed Sep 23 13:58:20 UTC 2015


Antonio Casado Rodriguez:

> Hi,
>
> I've been looking for how add fonts in ckeditor.
>
> I've seen in "horde/js/ckeditor/ckeditor.js"
>
> i.font_names='Arial/Arial, Helvetica, sans-serif;Comic Sans MS/Comic  
> Sans MS, cursive;Courier New/Courier New, Courier,  
> monospace;Georgia/Georgia, serif;Lucida SansUnicode/Lucida Sans  
> Unicode, Lucida Grande, sans-serif;Tahoma/Tahoma, Geneva,  
> sans-serif;Times New Roman/Times New Roman, Times, serif;Trebuchet  
> MS/Trebuchet MS, Helvetica, sans-serif;Verdana/Verdana, Geneva,  
> sans-serif';
> i.font_defaultLabel='';
>
> Where can i set my override configuration? or add font?

I had a requirement to set a default font available on all clients.

horde/imp/config/prefs.local.php:
     /* default our font, size 42 /*
     $_prefs['compose_html']['value'] = 1;
     $_prefs['compose_html_font_family']['value'] = 'our nice font';
     $_prefs['compose_html_font_family']['advanced'] = false;
     $_prefs['compose_html_font_family']['locked'] = false;
     $_prefs['compose_html_font_family']['type'] = 'text';
     $_prefs['compose_html_font_size']['value'] = 42;
     $_prefs['compose_html_font_size']['advanced'] = false;
     $_prefs['compose_html_font_size']['locked'] = false;

That's not the same but maybe it help.
Andreas



More information about the horde mailing list