mirror of
https://github.com/moodle/moodle.git
synced 2025-03-21 08:00:37 +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.