Issue ouverte · Issue #996 Choose an existing media file from the editor and file fields · @rmdes
Today the only way to reuse an uploaded file is to copy its URL from /files.
I’d like to add a “Browse media” button next to the editor’s image upload button and next to file-input’s “Upload file” button. It would open a dialog listing the media endpoint’s files (q=source, paged by uid) and insert or fill in the chosen one. Built the way the other frontend components are: a native <dialog>, localised strings in the component template, the existing icons.
I’ve run a version of this on my own site for a while; a screenshot of it follows.