Created
November 3, 2012 18:08
-
-
Save WebEndevSnippets/4008156 to your computer and use it in GitHub Desktop.
WordPress: Change Font in HTML Editor
This file contains 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
add_action( 'admin_head-post.php', 'we_fix_html_editor_font' ); | |
add_action( 'admin_head-post-new.php', 'we_fix_html_editor_font' ); | |
/** | |
* Change Font in HTML Editor | |
* | |
*/ | |
function we_fix_html_editor_font() { ?> | |
<style type="text/css">#wp-content-editor-container #content, #wp_mce_fullscreen { font-family: Verdana, Geneva, sans-serif; }</style> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment