• 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)
  • Thread Starter Pepozzo

    (@pepozzo)

    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

    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.