I am trying to replace a textarea with wp_editor()
My textarea form element looks like this:
<textarea name="post_text" id="post_text" rows="3"><?php echo $content; ?></textarea>
Then I have:
wp_editor( $content, 'post_text' );
The problem I am getting is both the form textarea and the wp_editor textarea are outputted on the page. Why are both textareas displaying? I only need one textarea to display. Everything saves fine, I just have this problem of 2 textareas showing.
EDIT: Is it as simple as putting a display: none;
on my form's textarea so just the wp_editor() textarea displays? That seems to work but feels a bit hackish.