taoguan / jwysiwyg

Automatically exported from code.google.com/p/jwysiwyg
0 stars 0 forks source link

Different Font Support #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is is possible to display another font as the default, other than Times New
Roman?

Original issue reported on code.google.com by ryanhels...@gmail.com on 17 Jan 2009 at 5:03

GoogleCodeExporter commented 8 years ago
You can use CSS property to change the style:

$('#wysiwyg').wysiwyg({
    css : 'default.css'
});

Original comment by joksnet on 28 Jan 2009 at 2:27

GoogleCodeExporter commented 8 years ago
When I try to specify the CSS property, jWYSIWYG no longer seems to work.

Original comment by dani.spi...@gmail.com on 3 Feb 2009 at 6:47

GoogleCodeExporter commented 8 years ago
Hi,

below is an example to use other fonts for the editor:

$('#wysiwyg').wysiwyg({
        css : { fontFamily: 'Arial, Tahoma', fontSize : '12px'}
       });

cheers

Original comment by liu.hong...@gmail.com on 13 Mar 2009 at 12:59

GoogleCodeExporter commented 8 years ago

Original comment by akzhan.a...@gmail.com on 8 Dec 2009 at 5:55