Atto: Paste special

Maintained by Picture of Joseph InhoferJoseph Inhofer
PasteSpecial button for Atto reduces clutter when pasting from non-Atto text editors.

Paste special 2016031100

Release notes

Version 2016031100:
Added another option for keyboard command
Improved behat tests

Version 2016030100:
Improved language strings
Added "Paste from Moodle"
Added keyboard shortcut for pasting
Added help button
Allowed width and height to be set as admin
Added function to check potential source of pasted content
Altered JS to allow for multiple instances of PS

Version 2016021100:
Further improved UI
Tables can now be pasted
Behat added to allow this
Further improved unformatted to handle no tags
Added German Language file
Added option to not clean text (for tables and such)

Version 2016010600:
Updated unformatted to better handle inline styling
Added optional handling for keyboard pasting
Improved UI to display a responsive view of content
Added behat
Started logging my changes (Sorry about before this folks)

Previous versions:
Everything up until 2016010600.


This is a plugin for Atto editor in Moodle that allows
the user to paste content from several different rich
formatting areas and either import the styling or
import as unformatted text. To install, unpack to
lib/editor/atto/plugins/pastespecial and visit the
admin notifications page to install. Then add the
button on that Atto toolbar settings page. The
pastespecial settings page can be used to configure
the allowed styles when importing formatting.

To build the YUI files from the yui/src/button/js/button.js
file, simple run the following command from yui/src/button:
PATH=$PATH:~/local/nodejs/node-v0.10.33-linux-x64/bin shifter

All original files are copyright Joseph Inhofer 2016 and are licensed under GPL v3 or later
Moodle 2.7, 2.8, 2.9, 3.0

Version information

Version build number
Version release name
Stable version
MD5 Sum
Supported software
Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0
  • This is the latest release for Moodle 2.7
  • This is the latest release for Moodle 2.8
  • This is the latest release for Moodle 2.9
  • This is the latest release for Moodle 3.0

Version control information

Version control system (VCS)
VCS repository URL

Default installation instructions for plugins of the type Atto

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myeditorplugin") in the "lib/editor/atto/plugins" subdirectory.
  4. Visit to finish installation of the plugin.

To make the newly installed plugin available, you need to edit the Atto toolbar configuration so that the new plugin appears in the toolbar.

  1. Go to your Site administration ►Plugins ► Text editors ► Atto HTML editor ► Atto toolbar settings
  2. Add the new plugin to the desired position in the toolbar.