Title: Edit TinyMCE
Last modified: December 10, 2020

---

# Edit TinyMCE

 *  [Engine44](https://wordpress.org/support/users/engine44/)
 * (@engine44)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/edit-tinymce/)
 * A while ago I added a custom font to the TinyMCE Editor dropdown menu. I want
   to add another custom font but I forget where I went to do that. Is it in the
   php somewhere? Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/edit-tinymce/#post-13781954)
 * Hello,
 * If you’re looking to do this via PHP you can use the [`tiny_mce_before_init` hook](https://developer.wordpress.org/reference/hooks/tiny_mce_before_init/).
   For a more detailed answers you may see [Append Font Family in TinyMCE](https://wordpress.stackexchange.com/a/240791/7355)
   by user bueltge. Their example is as follows:
 *     ```
       /**
        * Add fonts to the "Font Family" drop-down.
        */ 
       add_filter( 'tiny_mce_before_init', 'fb_mce_before_init' );
   
       function fb_mce_before_init( $settings ) {
   
           $font_formats = 'Andale Mono=andale mono,times;'
                         . 'Arial=arial,helvetica,sans-serif';
           $settings[ 'font_formats' ] = $font_formats;
   
           return $settings;
   
       }
       ```
   
 *  Thread Starter [Engine44](https://wordpress.org/support/users/engine44/)
 * (@engine44)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/edit-tinymce/#post-13793953)
 * The code you mention could be what I need. But where is this code located?
 *  [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/edit-tinymce/#post-13795098)
 * This would go into your Child Themes functions.php file or as a separate plugin.
 *  Thread Starter [Engine44](https://wordpress.org/support/users/engine44/)
 * (@engine44)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/edit-tinymce/#post-13796420)
 * Your answer surprised me. That is not what I did before. The answer you referred
   me to (by Bueltge) included the following:
 * Default Fonts
    ‘Andale Mono=andale mono,times;’+ ‘Arial=arial,helvetica,sans-
   serif;’+ ‘Arial Black=arial black,avant garde;’+ ‘Book Antiqua=book antiqua,palatino;’
   + ‘Comic Sans MS=comic sans ms,sans-serif;’+ ‘Courier New=courier new,courier;’
   + ‘Georgia=georgia,palatino;’+ ‘Helvetica=helvetica;’+ ‘Impact=impact,chicago;’
   + ‘Symbol=symbol;’+ ‘Tahoma=tahoma,arial,helvetica,sans-serif;’+ ‘Terminal=terminal,
   monaco;’+ ‘Times New Roman=times new roman,times;’+ ‘Trebuchet MS=trebuchet ms,
   geneva;’+ ‘Verdana=verdana,geneva;’+ ‘Webdings=webdings;’+ ‘Wingdings=wingdings,
   zapf dingbats’
 * I think this list is the one I modified before. If I could get to this list, 
   I could add the font I need. Does that seem right? Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Edit TinyMCE’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 4 replies
 * 2 participants
 * Last reply from: [Engine44](https://wordpress.org/support/users/engine44/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/edit-tinymce/#post-13796420)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
