Title: [Plugin: TinyMCE Advanced] Add custom code
Last modified: August 20, 2016

---

# [Plugin: TinyMCE Advanced] Add custom code

 *  [Pepozzo](https://wordpress.org/support/users/pepozzo/)
 * (@pepozzo)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-tinymce-advanced-add-custom-code/)
 * Hello,
 * i’m trying to add some code to this TinyMCE property:
 *     ```
       tinyMCE.init({
               ...
               theme_advanced_fonts : "Andale Mono=andale mono,times;"+
                       "Arial=arial,helvetica,sans-serif;"+
               ...
       });
       ```
   
 * But where I can find that code?
 * I can find a way to add some code at theme_advanced_fonts using the TinyMCE Advanced
   administration panel on WordPress back-end.
 * Thanks!

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

 *  [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-tinymce-advanced-add-custom-code/#post-2447442)
 * This is the right plugin for that job: [http://wordpress.org/extend/plugins/advanced-tinymce-configuration/](http://wordpress.org/extend/plugins/advanced-tinymce-configuration/)
 *  Thread Starter [Pepozzo](https://wordpress.org/support/users/pepozzo/)
 * (@pepozzo)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-tinymce-advanced-add-custom-code/#post-2447462)
 * Thank you so much!
 * And if i would to add also the font style to the fonts select?
 * For example, when i open the font list on the editor i can choose Arial, written
   with the Arial face. And when i write something on the textarea, it shows like
   Arial font correctly.
 * But when i try to select my custom Font, it looks as Times New Roman on the back-
   end editor.
 * How can i show custom font style correctly on the editor?
 * PS: i’ve already added font-face property to my style.css
 *  [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-tinymce-advanced-add-custom-code/#post-2447554)
 * It’s probably just cache issues. Quit the browser, start it again and delete 
   the cache before testing this. However using a custom font may not work properly
   in the site’s visitors browsers.

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

The topic ‘[Plugin: TinyMCE Advanced] Add custom code’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)

 * 3 replies
 * 2 participants
 * Last reply from: [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-tinymce-advanced-add-custom-code/#post-2447554)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
