Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)

increase-editor-font.php

By: jan_dembowski on Mar 14th, 2012  |  syntax: PHP  |  size: 0.41 KB  |  hits: 62  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /*
  3. Plugin Name: Increase Editor Font Size
  4. Description: This plugin will increase the size of the font in the editor only for easier reading and editing.
  5. */
  6.  
  7. function plugin_mce_css( $mce_css ) {
  8.         if (! empty( $mce_css ) )
  9.                 $mce_css .= ',';
  10.  
  11.         $mce_css .= plugin_dir_url( __FILE__ ) . '/editor.css';
  12.  
  13.         return $mce_css;
  14. }
  15.  
  16. add_filter( 'mce_css' , 'plugin_mce_css' );