I've used wp_editor to replace the default comment editor in my WordPress install, and it looks beautiful and functions just as it's supposed to...when you're typing. But when I click "Submit," I get this error:
"Error: Please type a comment."
This is the entire code for that section:
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <?php wp_editor( $listing->post_content, 'listingeditor', $settings = array('textarea_name' => post_content, 'textarea_rows' => 8) ); ?> <input type="submit" class="commentsubmit" value="Submit" /> <?php comment_id_fields(); ?> <?php do_action('comment_form', $post->ID); ?> </form>