Media Library JS open edit page in a new page instead of popup
-
Hello everyone ! I have a problem with the integration of wp.media.view.MediaFrame.Select in my website.
I do that in the front of a WordPress 6.2 website, the media frame work well but when I click on the “Edit image” link, the link open a new tab instead of open the page in current modal.
I follow this plugin to create my modal : https://github.com/ericandrewlewis/wp-media-javascript-guide/tree/master and with his example, it’s work well.
Any ideas of why the link open a new page instead of replace content in the modal like “normal” ?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Media Library JS open edit page in a new page instead of popup’ is closed to new replies.