ecampbell / moodle-atto_wordimport

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

fix(fileupload): word contents now consistently inserts into the editor #26

Closed keevan closed 8 months ago

keevan commented 1 year ago

This fix works by capturing the editor (in this case, the selection), once the button is triggered. Once the file has been uploaded, all other activities performed, and the contents is ready to be inserted. Regardless of the focused element, it will now refocus, and insert the contents where it was intended to go in the first place.

Resolves #25

Peterburnett commented 8 months ago

Bumping this one, any chance this can land?