I don’t get why you guys have so much code but then my version doesnt work yet because content on submission is the original content put into the editor on loading.
None of your methods work for me! You all talk like you just put that code in your page then use the function but it always creates a blank page.
This is what displays the editor for me but as I said not perfect yet.
<?php
wp_tiny_mce(true);
add_filter(‘teeny_mce_buttons’, ‘teeny_mce_buttons’);
wp_enqueue_script(‘page’);
wp_enqueue_script(‘editor’);
do_action(‘admin_print_scripts’);
wp_enqueue_script(‘thickbox’);
add_action( ‘admin_head’, ‘wp_tiny_mce’ );
wp_enqueue_script(‘editor’);
add_thickbox();
wp_enqueue_script(‘media-upload’);
wp_enqueue_script(‘word-count’);
the_editor($post_content, ‘content’);
?>
@ R-A-Y
I found that Brayne’s second solution works perfectly.
@ Brayne
THANK YOU!