
Atto: Sketch
Description
Adds a simple "Paint" like program to the atto editor. Features include simple shape tools, drawing, typing, colors, undo/redo. Utilizes the open source "Literally Canvas" image editor. http://literallycanvas.com/
Installation
Create the lib/editor/atto/plugins/sketch folder and place all files there. Run through standard Moodle update/install process.
IT IS HIGHLY ADVISED TO CHANGE THE DEFAULT IMAGE SETTING OF THIS PLUGIN FROM INLINE BASE64 IMAGES TO STANDARD MOODLE. SEE https://tracker.moodle.org/browse/MDL-59997
Use
Set cursor in the editor and click the sketch icon. The editor will open full screen. Use a stylus, finger or mouse to create/edit image. Click "Insert Sketch" to add to editor.
* When used with the Quiz essay question type, please be advised that the essay response format must be set to "HTML-Editor with filepicker" for full functionality.
I had checked in Moodle 3.2 on Firefox and Chrome browsers. Can you please help in resolving the issue?
Thank you for your comment. I made the change that removes the .. because I found in my testing that it didn't work in some places of Moodle. I'll look into it today and see what I can do about the path.
a) But sometimes, mostly when de image is large, only a portion in shown, the rest of the canvas is blank /(white). it seems like a curtain NOT descending.
b) When the image is small and NOT fills the canvas, the generated image is not cropped, there is a lot of bank space
Where can I change the dimensions of the javascript dialogue and canvas in code?? I've tried the css included but without success.
But I have realized a problem that's a showstopper for us.
Sketch works well on pages managed by teachers. It works also on forum posts, and the raw data is saved to database. BUT on display the content is filtered out by format_text() function in forum_print_post(). The only way to show it in the discussion page is to use "noclean". That's not acceptable for a production site.
As I commented, we are interested on Sketch as an image annotator. Te purpose is to allow students (or teachers) to add marks and signs to an existing image. I'lve lived a s a teacher many moments of "ahh, I'd it in front of my eyes without knowing where to look at" by students. So, having Sketch working in forum pages is a must.
In addition. Currently Sketch return a base64 encoded text embedded, That may scare most users, in my opinion. Both problems would be solved if the return from Sketch would be a file in the editor area, and a link to that in the editor text ¿Is that possible, feasible?