WordPress.org

Ready to get started?Download WordPress

Forums

wp_editor placed outside of form (1 post)

  1. Raziku
    Member
    Posted 2 years ago #

    Hey!
    I am trying to use the wp_editor in a plugin I am working on but when I place like the function like this it appears outside of the form. Any ideas why? thanks!

    $my_html .= '
    		<div class="inside">
    		<form action="'.myaction().'&action=save" method="post" id="edit">
    		<label>desc</label>
    		'.wp_editor($menu['description'],'mydesc').'
                    <br />  <input type="submit" value="save" />
                   </form>
    		</div>';
    	echo $my_html;

Topic Closed

This topic has been closed to new replies.

About this Topic