Atto: Sketch

atto_sketch
Maintained by Picture of Matthew DavidsonMatthew Davidson
Simple image "paint like" editor for atto.
716 sites
465 downloads
23 fans
Moodle 2.8, 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8

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.


Screenshots

Screenshot #0
Screenshot #1

Contributors

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 j s
    Thu, Jul 5, 2018, 12:30 AM
    Hi not sure if it's here that i should ask or comment. Is it possible for to shift the "Insert Image" button that is currently at the bottom of the page to the top or to the side bar? Was using it on the phone and on a another small screen and everything works, but could not insert the image because the button was inaccessible. Possible? Any help?
  • Picture of marc mathys
    Wed, Oct 31, 2018, 11:46 PM

    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)
  • Picture of sanaz karimkhani
    Tue, Oct 22, 2019, 7:07 PM
    Hi,

    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
  • Picture of Andreas Schenkel
    Sat, Jan 25, 2020, 3:54 AM
    Installed it in moodle 3.8 and it seems to work.
  • Picture of Fabian Auchter
    Sat, Apr 11, 2020, 11:46 PM
    Hi, the sketch button doesn't appear in the Atto Toolbar. Running Moodle 3.6
  • Picture of Matthew Davidson
    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?
  • Picture of Mike Simurdiak
    Thu, May 14, 2020, 5:35 AM
    Will this ever be added to Moodle core?
  • Picture of Andreas Schenkel
    Tue, Jun 2, 2020, 11:26 PM
    Works also in 3.8.3 ...
  • Picture of Andreas Schenkel
    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.
  • Picture of Arvind Murali
    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?
  • Picture of Bogumił Dałkowski
    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.
  • Picture of Matthew Davidson
    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)
  • Picture of Arvind Murali
    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?
  • Picture of Klaus Steitz
    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.
  • Picture of Bogumił Dałkowski
    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+
1 2 3
Please login to post comments