Atto: Sketch

atto_sketch
Maintained by Picture of Matthew DavidsonMatthew Davidson
Simple image "paint like" editor for atto.
633 sites
497 downloads
21 fans
Current versions available: 2

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 Florian Krause
    Mon, Mar 5, 2018, 10:52 PM
    super! für smartphones und tabletts einfach der hit! hat kurz gedauert, bis ich kapiert hatte, dass man das icon bei den einstellungen vom editor noch hinzufügen muss (-: und im css vom template habe ich die höhe auf 95% gesetzt, sonst war auf dem ipad der button zum bestätigen außerhalb der anzeige ... jetzt hab ich viel spaß mit dem touchpen. eine nutzerin hat mir sogar gesagt, dass sie jetzt moodle nutzt, um ihre zeichnungen als bild zu speichern ...
  • Picture of Michal Wazana
    Tue, Mar 13, 2018, 6:05 PM
    nice,
    it would be even better if you will be able to edit shapes and text (fixing, moving, resizing..) after placing them..
  • 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?
1 2 3
Please login to post comments