Sage 10 - Tailwind - Proper way to include custom fonts in Gutenberg editor

This should be fixed by adding setPublicPath to your Bud config:

  1. :white_check_mark: Add the font to your Tailwind config.
  2. :white_check_mark: Add the font to your CSS. Make sure the editor CSS is including this same CSS.

You’ve already done these things :+1:

FYI - Sage now automatically generates theme.json from a Tailwind config. You might want to consider pulling that update into your theme.

2 Likes