SHARE
TWEET

increase-editor-font.php

jan_dembowski Mar 14th, 2012 75 Never
  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' );
RAW Paste Data
Top