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

git-svn-id: https://develop.svn.wordpress.org/trunk@29049 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2014-07-09 22:05:06 +00:00
parent f92dc5aa41
commit 14d1e57e99
14 changed files with 798 additions and 76 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,
),
) ); ?>