Atto: Sketch

Maintained by Picture of Matthew Davidson Matthew Davidson
Simple image "paint like" editor for atto.
4 sites
2 fans


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.


Screenshot #0
Screenshot #1


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

Comments RSS

Show comments
  • Picture of Plugins bot
    Thu, 29 Jun 2017, 2:20 AM
    Approval issue created: CONTRIB-6956
  • Picture of Jaswinder Singh
    Mon, 31 Jul 2017, 2:29 PM
    HI Matthew, I was testing the sketch plugin on my local Moodle setup. I really liked the functionality it provides but unfortunately for me the canvas area is not expanding to full screen. It is limited to 900 px by 369 px only with a vertical scroll bar in sidebar.
    I had checked in Moodle 3.2 on Firefox and Chrome browsers. Can you please help in resolving the issue?
  • Picture of Chris Kenniburg
    Wed, 2 Aug 2017, 7:42 PM
    I downloaded this and I am getting the error that sketch.html is not found. When I looked at the code it was calling for /lib/editor/atto/etc. I believe you want to put a ".." in front of the first '/' so its ../lib/editor/atto/ etc That fixed it for my dev site. I am using the 2017080100 version of the plugin.
  • Picture of Matthew Davidson
    Wed, 2 Aug 2017, 8:07 PM
    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.
  • Picture of Matthew Davidson
    Wed, 2 Aug 2017, 8:56 PM
    Chris, I've just released a hotfix release 2017080200 that should solve this issue.
  • Picture of Rob Johnson
    Wed, 9 Aug 2017, 1:27 AM
    I also see the canvas area not expanding to full screen in the Adaptable theme (ver 1.5 and Moodle 3.2). If I switch to the More theme, it expands as expected.
  • Picture of Matthew Davidson
    Wed, 9 Aug 2017, 1:47 AM
    Rob, Are you making any kind of alterations to the setup. I've installed Moodle 3.2 and Adaptable theme 1.5 and haven't been able to recreate this issue.
  • Picture of Enrique Castro
    Fri, 11 Aug 2017, 2:15 AM
    Hi Matthew. I have just installed Sketch in our system at ULPGC (moodle 3.1 with theme adaptable 1.3.3 buy customized). Sketch is working properly usually. We are interested on Sketch as an image annotator. Most of the time if you have an image selected and launch Sketch you can edit on it without trouble.
    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.
  • Picture of Matthew Davidson
    Fri, 11 Aug 2017, 2:22 AM
    Enrique, yes, I've encountered these problems before. I believe they are issues with the drawing software that is used. See It is possible that these bugs could be known issues there or my need to be posted with them. Some of the sizes are overwritten via javascript in line 215 range of (has to be rebuilt from the src directory and compiled)
  • Picture of Andreas Schenkel
    Mon, 21 Aug 2017, 12:01 AM
    Is there a way to support moodle mobile app so that the images are also displayed in the app?
Please login to post comments