Atto ::: atto_sketch
Maintained by Matthew Davidson
Simple image "paint like" editor for atto.
Latest release:
985 sites
28 fans
Current versions available: 2


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.


Create the lib/editor/atto/plugins/sketch folder and place all files there. Run through standard Moodle update/install process.



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.


Screenshot #0
Screenshot #1


Matthew Davidson (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Apr 15, 2020, 1:49 AM
    @Fabian It definitely works in 3.6, Have you gone to the Atto Editor settings and added it to the toolbar?
  • Thu, May 14, 2020, 5:35 AM
    Will this ever be added to Moodle core?
  • Tue, Jun 2, 2020, 11:26 PM
    Works also in 3.8.3 ...
  • Tue, Jun 2, 2020, 11:29 PM
    Can you add a feature to resize an image. I often use screenshots which are to big. So it would be great to make images smaller by using Sketch-plugin.
  • Sat, Jun 6, 2020, 6:43 AM
    It appears that due to passive event listener issues, sketch just opens up sorta greyed out and closes as soon as a click is made. Anyone else see this?
  • Thu, Jun 25, 2020, 2:12 AM
    Hi, have you find solution to the problem with using sketch under SEB. (Moodle 3.8.3, SEB 2.3 - I can create graphics but they are not saved if I use SEB.
  • Thu, Jun 25, 2020, 4:00 AM
    @Bogumił Dałkowski I just tested using Moodle 3.7 and the latest SEB. It all seemed to work. Could it be the way sketches are saved? Try changing the "Store as image file" setting for Sketch checked (both atto and tinymce have this setting)
  • Tue, Sep 1, 2020, 7:39 AM
    Matthew, any comment on this?It appears that due to passive event listener issues, sketch just opens up sorta greyed out and closes as soon as a click is made. Anyone else see this?
  • Tue, Oct 6, 2020, 5:59 PM
    @Bogumił Dałkowski Have you ensured that you set the checkbox "atto_sketch | storeinrepo" as admin on your site (/admin/settings.php?section=atto_sketch_settings)? We have also the issue that graühics are only saved if that is checked, as it is written in big letters at the top of this site.
  • Tue, Oct 6, 2020, 6:39 PM
    @Klaus Steitz thank you for your comment, I did not check the issue in Moodle 3.9 with SEB inside. Original problem was with saving pictures by students in quiz run under SEB. If quiz was run by a trainer pictures were saved - probably becouse SEB works only when ran by students. I will asap check the issue with Moodle 3,9.2+
  • Al
    Sun, Dec 20, 2020, 12:28 AM
    This extension is fantastic, it allows the student to edit images online. We do testing in schools have had a few testing this plugin. I hope that was OK, Matthew. I did try to message you but was unable.

    The overwhelming response was fantastic. There were a number of suggestions, which you may or may not be interested in but I am happy to share them with you as all are really constructive and from those in education. One point, however, I must share is the button in the top left which says "Mini Paint". Users are saying they lose all the work they have done with no warning at all and they can't get it back. We check this and got the same. We suggest an, "Are you sure?" message would solve this, as many keep losing their work by mistake. There are one or to other suggested tweaks from Teacher, Student and Exam boards, contact me if you would like this. Great Plugin, Cheers.

    We test and support completely free, it is all to help each other out.
  • Thu, Feb 4, 2021, 9:25 AM
    Hey Matthew, is there a way to set a maxwidth for the img tag that is inserted? Or control the image size itself?
    I'd like to use for adding signatures to essays etc, but the image that is inserted is 1280 x 720 and way too large for this use case...
  • Sat, Feb 13, 2021, 7:10 PM
    I saw a comment about the Sketch icon not visible. Here are my findings:

    1. As pointed out earlier, go to /admin/settings.php?section=atto_sketch_settings and check the box "If checked the sketch will be saved as a standard image upload instead of a base64 inline image."

    2. However, when you do this, the Sketch icon disappears from the toolbar menu. In the quiz setting--> Response Options, set the Response format as “HTML editor with file picker” instead of “HTML editor” and it should work well.

    I am on Moodle 3.9 and tested this on Firefox.

    @Matthew: Any plans to upgrade the plugin to 3.10?
  • Wed, Aug 18, 2021, 11:42 AM
    This is great! But I cannot use it with my k-12 students. Is there a way to turn safe search on for the pixelbay image search or disable the button?
  • Wed, Aug 18, 2021, 8:59 PM
    @Nicholas Fahey In sketch/css/layout.css add the following:

    span#media {
    display: none;
1 2 3
Please login to post comments