mirror of
https://github.com/moodle/moodle.git
synced 2025-03-25 18:12:29 +01:00
The 'drop' event fires before the native ContentEditable drop handler, so in order to update the underlying textarea we need to call updateOriginal with a brief delay so that the dropped content has actually been added to the editor.