I have 300 line script I'm working on and the editor is there but any sort of javascript does not seem to work.
The java error is "u is undefined".
When I submit the editor post values for title is as expected but the content value displayed after submission is the original value put into the editor.
Been trying to get past this for 2 days now! Looked at every use of the_editor() online to get this far but I can't see the issue.
I have this snippet for displaying my editor...
<?php
wp_tiny_mce(false);
add_filter('teeny_mce_buttons', 'teeny_mce_buttons');
wp_enqueue_script('page');
if ( user_can_richedit() )
{
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');
?>