Include Lato in the editor

This commit is contained in:
Braad
2015-05-14 00:58:14 -07:00
parent 7ffeb0c85f
commit ea717c00ff
+6 -2
View File
@@ -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 );
}
}