mirror of
https://github.com/moodle/moodle.git
synced 2025-04-01 14:32:45 +02: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.