How to setup default font size for WYSIWYG editor ?
If you want to setup default font and font size in your WYSIWYG HTML editor, just execute following commands in your editor:
editor.execCommand("FontSize", false, "2"); editor.execCommand("FontName", false, "Arial");
As Font Name you can use values like: Arial, Tahoma, Verdana, etc.
Important is, that font size is not in pixels !
1 = 8pt
2 = 10pt
3 = 12pt
4 = 14pt
5 = 18pt
6 = 24pt
7 = 36pt