mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
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:
@@ -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 );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user