Quiz

Clarification on dragging/dropping images into text editor?

 
Picture of Melissa Benson
Clarification on dragging/dropping images into text editor?
Testers

Moodle 2.7


I'm almost positive the answer is "no" to 'Can you drag and drop an image from your desktop into a quiz question text editor?' Is that right? Do you have to click on the image icon and pick the image, upload, insert?

See below..how in the world could it have been working for his students in the past?? I understand that it could work for him if he's on HIS computer but it was working for others??

Can anyone give me some clarification on this? See below with some of the teacher' responses and concerns.


Original Question from teacher

"So Ive been creating some new quizzes in my Moodle courses for Intermediate Algebra and Calculus BC.  I typically use firefox to edit Moodle pages and questions cause it seems to be better (allow it usually freezes on my once per day and am thining of giving Chrome a try for a couple of days).  However, when I open the same quiz with snapshot pictures inserted into it, the pics do not show up on my Chrome browser on my desktop nor laptop but they do show up on my firefox browser.  To remedy this, I've used chrome to edit the quiz and create the questions and then it work in both.  However, it is harder to use Chrome then firefox to edit due to the number of clicks Chrome requires in order to insert a picture.

This is obviously a big concern as our students will be using Chrome once chromebooks are rolled out.  So I checked it out on the set of chromebooks that I have in my room, and it, to my surprise, worked without a problem. 

Is this something we need to be concerned about since nearly our ENTIRE moodle course for Algebra 2 was created using Firefox? Or is something different with the Mac version of Chrome compared to the Chromebook version?"


More responses

"I've been snapshotting the images using command+shift+4 to save them on the desktop.  Then I've been dragging and dropping them into the question edit screen.   I know that on Chrome you cannot drag and drop as it will open the file in a new or current window.  That is why we use firefox cause it is so much faster and easier....."


"Again, it works when you view in Firefox and Safari, but it does in Chrome.  Also, all of the previous assignments we have created last year, the pictures work.  But they do not for anything new we have created...  "

 
Average of ratings: -
moi!!! it is what is is...
Re: Clarification on dragging/dropping images into text editor?
Documentation writersParticularly helpful Moodlers

Perhaps this would be better in the Quiz forum?

 
Average of ratings: -
Tim at Lone Pine Koala Sanctuary
Re: Clarification on dragging/dropping images into text editor?
Core developersDocumentation writersParticularly helpful MoodlersPlugin developers

This is really a question about the HTML editor, not the quiz specifically.

I don't think Moodle supports drag-and-drop of images into the editor. I think some web browsers do something in this case, but I think it is a bit hacky (e.g. using data:// URLs).

Now that Moodle has adopted its own editor, Atto, it would be possible to make drag-and-drop of images into the editor work properly. I know it has been talked about, but I don't think anyone has tried to implement it yet.

 
Average of ratings: Useful (2)
Picture of Joseph Rézeau
Re: Clarification on dragging/dropping images into text editor?
Core developersParticularly helpful MoodlersPlugin developersTestersTranslators

Tim "I don't think Moodle supports drag-and-drop of images into the editor."

Well, you can drag and drop images into the editor in some activities, and not in others!

You can do it in Page, Questions, not in Forums.

Images are "saved"' as data:image/jpeg;base64

Joseph

 
Average of ratings: Useful (2)
Just wondering . . .
Re: Clarification on dragging/dropping images into text editor?
 

There is a tracker item here: https://tracker.moodle.org/browse/MDL-43996

Drag and Drop in ATTO.

This will be a HUGE leap forward when it lands.

-Derek

 
Average of ratings: Useful (1)
Picture of Melissa Benson
Re: Clarification on dragging/dropping images into text editor?
Testers

So with that tracker item closed...it's fixed? But it looks like not until 2.9, right? Does that mean in any activity, while using the Atto Editor, it will work? What if they have drag and dropped them in the past will they work or just images dragged from that point on?

 
Average of ratings: -
Picture of Melissa Benson
Re: Clarification on dragging/dropping images into text editor?
Testers

Is this documented anywhere? Which places can have images drag and dropped? Issues seem to be happening in my quizzes..did you say in questions it SHOULD work?

 
Average of ratings: -