Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Default Font Family #339

mrelkabany opened this Issue Jul 16, 2012 · 2 comments


None yet
2 participants

mrelkabany commented Jul 16, 2012

How can i add default font family to editor text or how can i add css font-family style to text programtically not just on initial call to wysiwyg function

I would like to know this too- I don't want to give the user the ability to change the font-family, I just don't want Times as the default font - it's too ugly for my site. Tried using the 'html' property so I could add a class to the body in the iframe and that didn't work. Please help, thanks.

If anyone else is struggling with this, I got it figured out. It should be apparent from the documentation, I guess I didn't RTFM :)

  1. Specify the css property, to include a stylesheet for the iframe editor, because it will not inherit your page's css.
  2. Specify the html property, that html needs to include the class (on the body element) you use in your editor stylesheet
  3. Win
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment