Created
December 11, 2011 16:37
-
-
Save robflaherty/1461438 to your computer and use it in GitHub Desktop.
WordPress fullscreen mode type enhancing bookmarklet
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
| /* | |
| * WordPress offers a wonderful minimalist fullscreen editing mode but the text is too small for my taste. You can use this bookmarklet | |
| * to pump up the font-size and line-height to something more pleasurable. | |
| */ | |
| javascript:(function(){ | |
| var iframe = document.getElementById('wp_mce_fullscreen_ifr'), | |
| tinymce = iframe.contentWindow.document.getElementById('tinymce'); | |
| tinymce.style.fontSize = '18px'; | |
| tinymce.style.lineHeight = '1.5'; | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment