Support » Fixing WordPress » wp_editor (wp tinymce) position

  • Resolved Igor Sazonov


    Hi everyone!
    I use wp_editor function to make it for textarea edit:

    wp_editor($myval, "myid", array(
                                'teeny' => true,
                                'textarea_name' => "myname"

    , textarea in html goes after label for it and also inside li element. But wp_editor makes tinymce editor before li, outside of lebel etc. Is it possible to make wp_editor tinymce as usual element?

    [ Moved to: how-to and troubleshooting ]

Viewing 2 replies - 1 through 2 (of 2 total)
  • OK, resolved! the problem is about void return of wp_editor: just echo, i think its bad..
    solution like this:

    wp_editor($yourval, $yourid, $yoursettingsarray);
    $yourvar = ob_get_contents();

    Thanx for solution! was looking for the same problem!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_editor (wp tinymce) position’ is closed to new replies.