diff --git a/includes/admin/admin.php b/includes/admin/admin.php index 440858c..f105d64 100644 --- a/includes/admin/admin.php +++ b/includes/admin/admin.php @@ -85,7 +85,11 @@ add_action( 'admin_enqueue_scripts', 'trestle_admin_actions' ); */ function trestle_admin_actions() { - // Include the main stylesheet in the editor + // Google fonts. + $font_url = str_replace( ',', '%2C', '//fonts.googleapis.com/css?family=Lato:300,400,700' ); + add_editor_style( $font_url ); + + // Include the main stylesheet in the editor. add_editor_style( get_stylesheet_uri() ); } @@ -293,4 +297,4 @@ function trestle_register_required_plugins() { ); tgmpa( $plugins, $config ); -} \ No newline at end of file +}