• I am trying to use wp_editor in html5-musci-play plugin where I have a plugin.php file which initiates all the stuff related to the plugin. I have add-song.php file, update-song.php file which are plain html files with layout and button update functions. There is manage-song.php function which does bulk of the work. If I want to update a song, it first fetches data from DB, then render the update or add file according to selection with the data from select query.
    I am intializing the wp_editor(content, id, settings) after the html is rendered. Now here are the problems I am facing with which I’d need help

    1) the editor and media container are broken meaning they are misaligned

    2) when I try to post content, it behave wierd ajax wise, sometimes I have to do double click on update or add to push the data, sometimes it puts in the wierd data-mce-bogus=1 thingy…..simply put it’s screwed up.

    If i do the same with a non editorial simple textarea, it work perfectly.

    Can anyone help with the solution? All my code is on my local and not on a server.

The topic ‘Using wp_editor in plugin’ is closed to new replies.