Allow adding media by external URL #9
Comments
This is not a PR because I don't know enough about the media modal API (yet) to make it happen |
Some todos/questions I see here:
|
Great summary, thanks for that!
I think it's fine for it to remain to say "Insert Media", we can still filter the actual library.
It looks like the editor uses the edit image modal, it just doesn't show size or image editing options and you can't link it to its attachment page. I wonder if the modal handles that case out of the box based on whether an attachment id is provided or not? Worth trying out. |
I'm going to take a look at this issue |
I started working on this in https://github.com/xwp/wp-core-media-widgets/compare/master...adamsilverstein:issue-9?expand=1 and have the insert from url part of the modal showing so far. Next, I will work on handling the insert button, the templating and also what happens when you re-open the dialog as Weston outlined above. |
First pass for this issue in #46. Appreciate some feedback @melchoyce, @obenland & @westonruter! |
Fixed by #46. |
Add the menu so media can be added via URL.
See https://core.trac.wordpress.org/ticket/32417#comment:69
The text was updated successfully, but these errors were encountered: