Atto: File drag & drop

Maintained by Picture of Paul Nicholls Paul Nicholls
An Atto plugin which adds drag and drop support for files which aren't images.
289 sites
16 fans

Build status


This plugin for Moodle's Atto WYSIWYG editor lets you drag any file into Atto - from documents to videos - in order to upload them into Moodle and add a link to the file within the Atto content.

If you are using Moodle's media filters, any supported multimedia files will display inline via the filter once published.


This plugin does not add a toolbar button or any other visible UI to Atto - it simply detects files dragged and dropped into Atto, automatically uploading them to Moodle.  It does still need to be in your Atto toolbar configuration in order to work, though in most cases this should happen automatically as part of the installation process.


  1. Make sure you're running Moodle 2.7 or later
  2. Download and unpack the module, renaming the folder to "filedragdrop" if necessary
  3. Place the "filedragdrop" folder in the "lib/editor/atto/plugins" subdirectory of your Moodle installation
  4. Visit to finish installation of the plugin
  5. Go to your Site administration ► Plugins ► Text editors ► Atto HTML editor ► Atto toolbar settings
  6. Add "filedragdrop" somewhere in the toolbar configuration

If you're running Moodle 2.9.2 or earlier, you'll need to make sure to include "filedragdrop" before the standard "image" plugin in your Atto toolbar configuration, due to a bug which resulted in the image plugin handling but ignoring non-image files. This bug was fixed in Moodle 2.9.3 and 3.0.


Picture of Paul Nicholls
Paul Nicholls (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Thu, 28 Jan 2016, 2:49 PM
    Prechecker results: 1 errors/0 warnings

    Please consider adding a screenshot of your plugin to help folks get an idea of what it looks like when installed.
  • Picture of David Mudrák
    Thu, 28 Jan 2016, 3:21 PM

    Thanks Paul for yet another plugin shared with the Moodle community. I was able to successfully test the functionality and did not spot any problems with the code. I am happy to approve this now. You are cleared to land, welcome to the Plugins directory!

  • Picture of Chris Kenniburg
    Thu, 28 Jan 2016, 9:12 PM
    Just tried this out...Awesome work my friend! Thank you for your efforts. This is a great tool for Atto. You just made a whole lot of teachers happy.
  • Just wondering . . .
    Thu, 4 Feb 2016, 10:50 AM
    Paul, looks good.
    I have just got around to installing it.
    Two things, a new suggestion and a feature creep:
    1) is it easy to create a plugin to get a video onto a section, just like you can frag and drop a word file?
    2) for the ATTO plugin, is it easy to add a upload progress bar?

  • Picture of C Behan
    Fri, 26 Aug 2016, 10:56 PM
    This is great, thank you.
  • Picture of owlowl172 owlowl172
    Wed, 5 Apr 2017, 7:31 PM
    I would like to read about it anymore. Prompt, what literature to study?
Please login to post comments