Editor Styles and Typekit

My website uses typekit to grab custom fonts, which works on the frontend.

I’d like to put this in my editor styles in the backend. However, I don’t know how I would do this. Typekit uses a js embed snippet rather than a css font-face embed snippet.

3 s
3

Tom Nowell’s TinyMCE plugin solution works brilliantly, just update the JavaScript to use Typekit’s new async code. Once you use the new async embed code, the 403 problem disappears and you’ll have Typekit-enabled TinyMCE with no fuss!

Tom has put all the code together in a blog post. He did all the heavy lifting on this, so go give him some pageviews and read the specifics there!

Leave a Comment