05-22-2009, 11:21 AM
This tutorials shows you how to preview fonts in the drop-down menu while posting, so you know what they look like.
Open jscripts/editor.js
Find:
Code:
this.fonts["Arial"] = "Arial";
this.fonts["Courier"] = "Courier";
this.fonts["Impact"] = "Impact";
this.fonts["Tahoma"] = "Tahoma";
this.fonts["Times New Roman"] = "Times New Roman";
this.fonts["Trebuchet MS"] = "Trebuchet MS";
this.fonts["Verdana"] = "Verdana";Replace with:
Code:
this.fonts["Arial"] = "<span style='font-family: Arial;'>Arial</span>";
this.fonts["Courier"] = "<span style='font-family: Courier;'>Courier</span>";
this.fonts["Impact"] = "<span style='font-family: Impact;'>Impact</span>";
this.fonts["Tahoma"] = "<span style='font-family: Tahoma;'>Tahoma</span>";
this.fonts["Times New Roman"] = "<span style='font-family: Times New Roman;'>Times New Roman</span>";
this.fonts["Trebuchet MS"] = "<span style='font-family: Trebuchet MS;'>Trebuchet MS</span>";
this.fonts["Verdana"] = "<span style='font-family: Verdana;'>Verdana</span>";And you're done!

