fontfamily code example

Example 1: css font family

p{
    font-family:garamond,serif;
}

Example 2: font-family css

font-family: "Times New Roman", Georgia, serif;
/* If the browser does not support the first font (ie: Times New Roman),
it will then try the next font (ie: Georgia). The last font should always
be a "generic-family" font (ie: serif, sans-serif, etc..).
/* If font is more then one word, it must be put into quotes. */

Example 3: fontFamily

function getCKBasicConfig(){
       return {ooo
           fontFamily: {
           options:  @json($fontNames)
           },
           toolbar: [
			'fontFamily',
			'fontColor','fontBackgroundColor','Alignment','undo', 'redo'
           ]
       };
   }

Example 4: fontFamily

function getCKBasicConfig(){
       ret
           fontFamily: {
           options:  @json($fontNames)
           },
           toolbar: [
			'fontFamily',
			'fontColor','fontBackgroundColor','Alignment','undo', 'redo'
           ]
       };
   }

Tags: