Enhance the editor on the Add/Edit Post screens, first run. Props avril, see #28328.

Built from https://develop.svn.wordpress.org/trunk@29049


git-svn-id: http://core.svn.wordpress.org/trunk@28837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz
2014-07-09 22:06:15 +00:00
parent 3b291f7057
commit 5e4a020ff8
29 changed files with 854 additions and 104 deletions

View File

@@ -11,6 +11,7 @@ if ( !defined('ABSPATH') )
die('-1');
wp_enqueue_script('post');
wp_enqueue_script('editor-expand');
if ( wp_is_mobile() )
wp_enqueue_script( 'jquery-touch-punch' );
@@ -492,6 +493,7 @@ if ( post_type_supports($post_type, 'editor') ) {
'editor_height' => 360,
'tinymce' => array(
'resize' => false,
'wp_autoresize_on' => true,
'add_unload_trigger' => false,
),
) ); ?>