Support » Developing with WordPress » Getting wp_editor content into JS

  • Resolved Venutius

    (@venutius)



    Hi there,

    I’ve created a front end editor form using wp_editor but what I’m struggling with is getting the editor content into JavaScript so I can process the content using Ajax.

    I can see that TinyMCE has created an iframe and within that there is a body and within that there is a paragraph which is holding the content.

    How do I select that content? The added complication is that I need to support multiple instances of wp_editor on the same page.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.