Teachers unable to insert local images and Word docx files into Atto editor while manually grading Essays

Teachers unable to insert local images and Word docx files into Atto editor while manually grading Essays

by Jim Arlien -
Number of replies: 6

Hi,

I'm running 3.2.2+ (Build: 20170316).

I created a Quiz with only Essay questions.

When manually grading these quiz essays (by clicking "Make comment or override mark"), the Atto editor seems to be restricted in some way.

I am using the Word File Import plugin (only works with Atto), and cannot import a .docx file into the editor window (click the import button, nothing happens.)  

I also cannot insert an image from a local folder/repository, and can only enter a URL.

The Word File Import plugin is working because I can get it to work in other editing situations like when I am creating the quiz questions or editing a label or page activity/resource.

I hunted around for a post or solution but couldn't find a discussion about this case of the teacher wanting to insert an image or Word docx while manually grading essay questions in a Quiz.

The results are same whether I set the students editor to simple text, or HTML with File Picker.  The Student can import, but Teachers cannot while grading.


I posted this problem with the Word file Import author at the GitHub site, but no response in two months other than he'd look into it.  https://github.com/ecampbell/moodle-atto_wordimport/issues/15

I ran on Firefox with the Firebug debugger and there seems to be script error:

Line 239 Col 4385
TypeError: s is undefined

If <script> tags have a "type" attribute, it should equal "text/javascript" or "application/javascript". Also scripts must be parsable (syntactically correct).\

moodle/theme/yui_combo.php?3.17.2/handlebars-compiler/handlebars-compiler-min.js&m/1486061464/core/handlebars/handlebars-min.js&3.17.2/timers/timers-min.js&3.17.2/querystring-stringify/querystring-stringify-min.js&m/1486061464/editor_atto/editor/editor-min.js&m/1486061464/editor_atto/menu/menu-min.js&m/1486061464/editor_atto/plugin/plugin-min.js&m/1486061464/atto_collapse/button/button-min.js&m/1486061464/atto_title/button/button-min.js&m/1486061464/atto_bold/button/button-min.js&m/1486061464/atto_italic/button/button-min.js&m/1486061464/atto_fontcolor/button/button-min.js&m/1486061464/atto_backcolor/button/button-min.js&m/1486061464/atto_unorderedlist/button/button-min.js&m/1486061464/atto_orderedlist/button/button-min.js&m/1486061464/atto_link/button/button-min.js&m/1486061464/atto_wordimport/button/button-min.js&m/1486061464/atto_image/button/button-min.js&m/1486061464/atto_media/button/button-min.js&m/1486061464/atto_managefiles/button/button-min.js


I'm not an experience web app programmer, so I hope the above can help someone diagnose this with me.

If I missed a default setting in Site Admin, Course Admin, or in the Question Bank, please direct me and I'll be very happy!

Best,

Jim

Average of ratings: -
In reply to Jim Arlien

Re: Teachers unable to insert local images and Word docx files into Atto editor while manually grading Essays

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Indeed. This is not currently possible. MDL-41090 is the feature request for enabling this featue. Vote there.

In reply to Tim Hunt

Re: Teachers unable to insert local images and Word docx files into Atto editor while manually grading Essays

by Jim Arlien -

Thanks for the quick response, Tim.

Bummer, but I voted.  We really need this quick or an alternative.

We have dozens of Word docs that we use as Answer Keys/response templates to be picked by Teachers and auto-embedded, then slightly customized while in the HTML editor. 

We don't want teachers to open the .docx files, then cut, and then paste into the editor. Too many steps. We're trying to automate the insertion of templates into grading comments.

Do you have any other alternative ideas to this approach?

Is there something similar that works NOW on the TinyMCE editor, or other?


In reply to Jim Arlien

Re: Teachers unable to insert local images and Word docx files into Atto editor while manually grading Essays

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Jim,

If you search through the forums for details on how to do it, there is a way to set up and use templates with TinyMCE.

However, I think the best possibility is to use Justin Hunt's Snippet tool for the Atto Editor. You would need to get it from his github account, as it has not been added to Moodle plugins yet. It works REALLY nice for creating reusable templates like you seem to need to do. https://github.com/justinhunt/moodle-atto_snippet

And, yes, Snippets can even be set to include common/default lists to select from to fill in parts of the template, if needed, then customized while in the editor.

In reply to Jim Arlien

Re: Teachers unable to insert local images and Word docx files into Atto editor while manually grading Essays

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Not sure how your quizzes are set up but if a single essay question, why not use the assignment activity where you can upload feedback files...

In reply to Jim Arlien

Re: Teachers unable to insert local images and Word docx files into Atto editor while manually grading Essays

by Jim Arlien -

Al and Emma,

Sorry for the long delay in thanking you for your replies.

Our course Quizzes are large with many essay questions requiring teacher interaction/comments to complete the step along with activity completion tracking.

I gave the Snippets plugin a try on our site.  It works and seems useful if you only have a small number of reusable templates and don't mind having them visible to all teachers.

But we have dozens and dozens of Word docs that would make the lists and button grids unwieldy to our teachers.

Also, we want to restrict certain files to certain teachers through folder access control and repositories.

So we're back to our need for a developer willing to be assigned to the following issue in the Tracker (adding the file picker to our Quiz essay manual grading/commenting):

MDL-41090

Is anyone willing to pick that up?  Or connect me with someone to discuss?

Many thanks again,

Jim