Created
January 20, 2017 17:45
-
-
Save khoipro/bccfa4d93349fdf4af174dbc771fa68c to your computer and use it in GitHub Desktop.
Add custom style to tinyMCE editor in WordPress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hook */ | |
add_action( 'admin_head', 'load_custom_fonts' ); | |
/* Function */ | |
function load_custom_fonts() { | |
echo '<link type="text/css" rel="stylesheet" href="' . get_template_directory_uri() .'/assets/css/editor.min.css">'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment