ecampbell / moodle-atto_wordimport

Import Word file contents into Moodle Atto text box
2 stars 7 forks source link

word import inserting contents into wrong element (via file picker) #25

Closed keevan closed 11 months ago

keevan commented 1 year ago

When using wordimport, once a file has been selected, and "Upload this file" button is clicked. You can replicate this issue by clicking intensively on any other HTML element on the page, as long as it is not the editor.

This causes the handling to insert the contents, at the focus point at the time, which might not be the editor, which produces the issue.

ecampbell commented 11 months ago

Many thanks for this code, I have now merged it into v1.4.3, for Moodle version 4.1 and upwards. Apologies for the delay in responding.