MDL-43996 editor_atto: add image drag and drop capability
authorPaul Nicholls <paul.nicholls@canterbury.ac.nz>
Fri, 28 Nov 2014 07:37:38 +0000 (15:37 +0800)
committerJetha Chan <jetha@moodle.com>
Fri, 5 Dec 2014 03:32:32 +0000 (11:32 +0800)
commit1461aee88ab8899f690571349fee28beecce3cfa
treed811769c77d2e4e5f2adfa93537e0c3ad6fcdbd2
parentd87bcfb3251285346e07eea6796c5ef0d1ad325f
MDL-43996 editor_atto: add image drag and drop capability

Adds the ability to drag and drop images directly into Atto, uploading the image and embedding it
correctly. Contains fixes from 1.0.2, as well as a policy change - images dragged and dropped into
Atto now have role=presentation by default.
lib/editor/atto/plugins/image/lang/en/atto_image.php
lib/editor/atto/plugins/image/lib.php
lib/editor/atto/plugins/image/version.php
lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button-debug.js
lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button-min.js
lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button.js
lib/editor/atto/plugins/image/yui/src/button/js/button.js