
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 would like to use Sketch for a maths test. Nevertheless, the image created with sktech in a "comment question" (Test Plugin") appears in the preview BUT NOT in the final answer that has to be noted by the teacher.
Do you have a solution? Is it an editor problem?
But that cleaning is there for a reason. Input from students, even form teachers, MUST be cleaned. People tend to copy-paste any type of things. We have had some incidents with teachers inadvertently pasting hidden malicious scripts, or just inconvenient advertisements.
A much better way to deal with the issue would be to store the image file in the editor draft filearea. But it's a significant more work, I understand.
I have not altered the setup in any way. I was using Firefox as my browser.
it would be even better if you will be able to edit shapes and text (fixing, moving, resizing..) after placing them..
I cannot see the controls once the frame opens and seem to be getting these errors and I am not sure how to fix. Thanks
[Error] Refused to display 'https://set.online.uni-marburg.de/elearning/lib/editor/atto/plugins/sketch/sketch.html' in a frame because it set 'X-Frame-Options' to 'DENY'.
[Error] Sandbox access violation: Blocked a frame at "https://set.online.uni-marburg.de" from accessing a frame at "null". The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.
(anonymous function) (yui_combo.php:9:4291)
[Error] TypeError: null is not an object (evaluating 'document.getElementById(o).contentDocument.getElementsByClassName')
(anonymous function) (yui_combo.php:9:4307)
i have instaled Plugins but unfortunatly it doesn't appear Icon of skatch. I Set cursor in the editor but there is not the sketch icon.
can you please help me