WordPress.org

Support

Support » How-To and Troubleshooting » Add media buttons with multiple wp_editor instances in WP 3.5

Add media buttons with multiple wp_editor instances in WP 3.5

  • I’m not sure where to post this question, but hope that somebody knows the answer 🙂

    The case: on a post edit screen I have a second area for rich editing created with wp_editor (but it has it’s own ID) inside metabox, and I need to be able to use add-media button with this second area to insert images from media library. But it does not work properly – the button opens media library dialogue, I can select images but the markup is not appeared in the textarea after selection.

    Does this case mean that new WP 3.5 insert media UI does not support multiple wp_editor instances on the sampe page? Or I’m just doing it wrong? Is it intended behaviour?

    UPD: I’ve found that it happens because I’ve run wp_editor with media buttons but without quicktags and visual edtor is disabled. Is it intended behaviour?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add media buttons with multiple wp_editor instances in WP 3.5’ is closed to new replies.
Skip to toolbar