ecampbell / moodle-atto_wordimport

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

Moodle 3.2.1 - Button not working for Quiz grading Comment boxes #15

Closed catchlightpro closed 7 years ago

catchlightpro commented 7 years ago

I'm running Moodle 3.2.1. Word File Import version atto_wordimport_moodle32_2017010502.

The Button works for editors enabled on Quiz Essay question boxes.

The Button is dead with no action for a teacher commenting on or grading the essays in the green comment boxes.

Has anyone else tested this?

-Jim

ecampbell commented 7 years ago

I have reproduced your problem, and it seems to be caused by a JavaScript error in code. I'll take a look to see if I can fix it, but I notice that the image insert button is also limited, and inserting an image is not allowed, only referencing an external one. There is obviously some limitation imposed in this particular box, and that may affect importing Word file content too.

catchlightpro commented 7 years ago

Thanks for confirming the issue so quickly! I hadn't tried that image insert button, so thanks for the alert. If I run across additional info, I'll post back here as well. This would be so cool if we can get this to import nice content from Word files (like a template) during essay grading and then personalize it a little more in the Atto editor.

catchlightpro commented 7 years ago

There are other boxes in various places that have similar restrictions. I haven't researched the Moodle forums about it yet.

Meanwhile, I used Firefox's Firebug debugger to see if anything showed up and recorded the following, hoping you might be able to use it, and it looks like the JavaScript error you referred to:

Line 239 Col 4385 TypeError: s is undefined

If Githubissues.

  • Githubissues is a development platform for aggregating issues.