I want to use 'Open Sans' as default-font in my CKEditor, but can't find out how.
I am using CKEditor 4.4.5 full
.
I've included the font in my html head:
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
Then I tried to change CKEditor's default font by changing the CSS in its contents.css:
body
{
/* Font */
font-family: "Open Sans";
font-size: 18px;
}
But this doesn't seem to work.
I also tried to set it in my Javascript:
CKEDITOR.config.font_names = "Open Sans;";
CKEDITOR.config.font_defaultLabel = 'Open Sans';
But this only seems to influence the display of the 'Font' Toolbar, not the style by itself.
note: I can use 'Open Sans' when I am using the "ckeditor-gwf-plugin", but this doesn't help me to set it as default font either.
Thanks for any help !