Makes custom TinyMCE views easier to implement.
For details and examples, see the ticket. props azaozz, fixes #21812. git-svn-id: http://core.svn.wordpress.org/trunk@21961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -22,6 +22,8 @@ if ( post_type_supports($post_type, 'editor') || post_type_supports($post_type,
|
||||
wp_enqueue_style( 'media-views' );
|
||||
wp_plupload_default_settings();
|
||||
add_action( 'admin_footer', 'wp_print_media_templates' );
|
||||
|
||||
wp_enqueue_script( 'mce-view' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user