In the textedit.js I tried both changing the font sizes for the 5-7 cases to the size for case 4 and removing cases 5-7 completely. Here is what it's like now (starting at line 2078):
PHP Code:
/**
* Translate CSS fontSize to HTML Font Size
*/
this.translate_fontsize = function(csssize)
{
switch (csssize)
{
case '7.5pt':
case '10px': return 1;
case '10pt': return 2;
case '12pt': return 3;
case '14pt': return 4;
default: return '';
}
}
/**
* Apply Format
*/
As for replacement variables, I was trying bbcode not html. Maybe that's why it didn't work? I'll try html too.
Thanks