Embedded files repository
Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: 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
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.
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.
Youtube video Managing files embedded in the text editor