Created
September 23, 2014 14:03
-
-
Save miya0001/185bf62a2ba9c1dc72d8 to your computer and use it in GitHub Desktop.
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
add_action( 'admin_footer', function(){ | |
echo <<EOL | |
<script type="text/javascript"> | |
$('bigger-link').click(function () { | |
$('.mceContentBody *').css('font-size', $(this).attr('data-fontsize')); | |
}); | |
</script> | |
EOL; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment