I am adding fields to a custom post type. How can I have editing options in my meta data just as they are in the editor box?
add_action('add_meta_boxes', 'add_property');
function add_property(){
add_meta_box("description-meta", "Property Description", "desc_options", "property", "normal");
}
function desc_options(){
global $post;
$values = get_post_custom($post->ID);
$description = isset( $values['description'] ) ? esc_attr( $values['description'][0] ) : '';
wp_nonce_field( 'my_meta_box_nonce', 'meta_box_nonce' );
?>
<p>
<label>Description:</label><br/><textarea name="description" cols="100" rows="20"><?php echo $description; ?></textarea>
</p>
Unfortunately you can’t yet…
see this trac ticket: http://core.trac.wordpress.org/ticket/19173
In particular it seems that:
Post custom metabox textarea using wp_editor