# Font Family

When using the font_family.min.js plugin it is possible to add your own fonts to be used inside the WYSIWYG HTML editor.

First you have to include the font on your webpage. In this example we are adding 4 Google fonts: Roboto, Oswald, Montserrat and Open Sans Condensed. Then you have to define the fonts that should appear in the Font Family dropdown using the fontFamily option. This option is an Object where the key represents the font name (just the way you would pass it to the font-family CSS rule e.g. font-family: 'Roboto', sans-serif;) and its value is the font name that appears in the dropdown list e.g. Roboto.

By default the font family icon is visible in the editor's toolbar. If you want to be able to see the actual font family for the selected text you can use the fontFamilySelection option.