File drag & drop
- Moodle 1.9–5.1
- 更新 2016-01-25
An Atto plugin which adds drag and drop support for files which aren’t images.
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.
NOTE:
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.
Installation
Make sure you’re running Moodle 2.7 or later
Place the “filedragdrop” folder in the “lib/editor/atto/plugins” subdirectory of your Moodle installation
Visit http://yoursite.com/admin to finish installation of the plugin
Go to your Site administration ► Plugins ► Text editors ► Atto HTML editor ► Atto toolbar settings
Add “filedragdrop” somewhere in the toolbar configuration
NOTE:
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
- 1.0Moodle 2.7, 2.8, 2.9, 3.0