Download & Extend

Support drawing tool as response format in questions and responses

Project:Quiz
Version:6.x-5.x-dev
Component:Code - Quiz module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

PaintWeb is another GSoC 2009 project that is developing an HTML5 paint application around the tag. It's been making great progress and will have plugins for Moodle and TinyMCE by the end of the summer.

I wrote the Mihai of ROBO Design who is doing the work and asked whether he had considered a Drupal module. He said he doesn't have time but would be happy to see a Drupal integration. I have a feeling he would help at least with answering questions. It shouldn't be too hard as they're both in PHP and there will by a TinyMCE plugin.

I'm marking this for 5.x so it doesn't block the Quiz GSoC release, but if there's good progress on this it could possibly make it into 4.x, which would make 4.0 even better.

Comments

#1

Status:active» postponed (maintainer needs more info)

Great!

We will support wysiwyg, including tinyMCE, in questions and responses. If we support tinyMCE we will also support PaintWeb I guess?

#2

Hello everyone!

I'm Mihai Sucan, the PaintWeb developer.

I do not have much experience with Drupal myself. What's the default global WYSIWYG editor used in Drupal?

Nonetheless, if there's work being done to support the latest TinyMCE in Drupal, then PaintWeb integration is certainly almost complete.

PaintWeb integration consists of loading PaintWeb and telling it which image the user can edit, and where/how to save the image when the user is done.

For Moodle I have been working on the TinyMCE integration which allows the user to simply select any image and edit it inside TinyMCE. Saving the image changes can use images with data URLs - such that the textarea contents includes the whole image, no need for separate file storage. The second method is to use a server-side Moodle integration script which handles the image save operation by storing the file in the Moodle data folder.

For Drupal, I presume a similar approach is recommended. Additionally, server-side integration code could also allow Drupal developers to integrate PaintWeb, on demand, stand-alone, without TinyMCE.

Soon I will publish further technical details about the Moodle integration of PaintWeb. The current PaintWeb documentation should shed some light on how it can be used/integrated. Further updates will provide more info.

If anyone has any questions I am glad to answer them, and even provide help with coding, or bug fixing PaintWeb if someone finds issues.

Thanks!

#3

Status:postponed (maintainer needs more info)» closed (won't fix)

There are no default wysiwyg editor in drupal. I think the wysiwyg project is the closest we will come in the close feature. However I think this issue is a bit out of scope for the quiz project. You should probably have a look at these two projects:

http://drupal.org/project/wysiwyg
http://drupal.org/project/tinymce

We support the wysiwyg projects way of including wysiwyg editors on textareas, and we look forward to try out PaintWeb!

#4

Status:closed (won't fix)» postponed

I would absolutely LOVE to see PaintWeb integration with Quiz. I'd like to see it set up so that quiz takers would have access to an image to edit. Upon editing, the student's changes would be saved as a new image (separate from the original) that is attached to the quiz.

This would actually represent a huge digression from the current Quiz model (which has no write access to files).

But it would be awesome.

Perhaps that is something we can look into during the Quiz 5 development cycle.

#5

So, WYSIWYG editing is an optional module which can be installed? Nice. Then, PaintWeb could be integrated in a similar fashion. The module could allow not only Quiz users to draw, but others as well, by making some API available to all of the other Drupal modules.

#6

Title:Support PaintWeb + TinyMCE for drawings in questions and responses» Support drawing tool as response format in questions and responses

I found another good option for the drawing tool. PaintWeb uses which is just a bitmap. SVG-Edit outputs SVG which can be further manipulated and potentially assessed computationally.

http://code.google.com/p/svg-edit/