Embedded files repository
The Embedded files (repository_areafiles) add-on allows users to re-use the files embedded in the current text area.
It works very well together with TinyMCE plugin Manage embedded files
Installation
Download from the Moodle plugins database at https://moodle.org/plugins/view.php?plugin=repository_areafiles
Copy folder areafiles to <rootdir>/repository/, login as admin and run upgrade script.
Repository management
Open any form with textarea in HTML mode; insert an image using filepicker as usual. Click "insert/edit image" again and in filepicker window select repository "Embedded files". The list of all files used in this textarea will appear and user can re-use any of them.
You can insert media and/or links to other files as well.
See also
Youtube video Managing files embedded in the text editor