Get selected image URL from wp.media.editor.attachment into text input fails. What am I doing wrong?
I have placed a media button as a post meta field to insert an image URL into a text field when Insert Into Page button is clicked. It works up to the point of opening the media repository window, selecting image and insert, however no value is passed to the input field.