Distraction Free Writing mode, see #17136

git-svn-id: https://develop.svn.wordpress.org/trunk@17695 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2011-04-25 01:01:34 +00:00
parent d1e074d29c
commit 07a62334de
23 changed files with 1232 additions and 63 deletions
+6
View File
@@ -1841,6 +1841,12 @@ function the_editor($content, $id = 'content', $prev_id = 'title', $media_button
edCanvas = document.getElementById('<?php echo $id; ?>');
</script>
<?php
// queue scripts
if ( $richedit )
add_action( 'admin_print_footer_scripts', 'wp_tiny_mce', 25 );
else
add_action( 'admin_print_footer_scripts', 'wp_quicktags', 25 );
}
/**