Skip to content
Templates button for Moodle's atto text editor
PHP
Branch: master
Clone or download
Pull request Compare This branch is even with sharpchi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
classes/privacy
lang/en
pix
screenshots
yui
CHANGES.md
README.md
lib.php
settings.php
styles.css
version.php

README.md

moodle-atto_templates

This is an atto plugin for Moodle which allows the administrator to define a set of predefined templates which a teacher can insert into their course pages.

It behaves in a very similar way as the TinyMCE templates function (https://www.tinymce.com/docs-3x/reference/plugins/Plugin3x@template/). Rather than storing the templates as stand-alone files, they are stored as settings in Moodle.

Installing

  1. Drop code into /lib/editor/atto/plugins
  2. Go to Site administration -> Notifications to install
  3. Add as many templates as you like

Credits

Heavily cribbed from atto_generico and atto_styles

You can’t perform that action at this time.