Your Moodle version

Atto: HTML+

Maintained by Picture of Andrew Nicols Andrew Nicols
An extended HTML plugin for atto which adds source beautification, and the code mirror source editor.


The htmlplus plugin provides a version of the HTML plugin with both syntax highlighting and code beautification. It also provides indentation support.


  • Place in lib/editor/atto/plugins
  • Upgrade your Moodle
  • Navigate to Site administration -> Plugins -> Text editors -> Atto HTML editor -> Atto toolbar settings
  • Replace any occurrence of the html plugin with htmlplus


Screenshot #0


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

Comments RSS

Show comments
  • Anthony Borrow
    Tue, Apr 8, 2014, 10:43 AM

    Many thanks for sharing this plugin with the Moodle community. I am presuming that this plugin is intended for Moodle 2.7; however, since that version is not yet available in the list of supported software we should probably hold of on approving it until 2.7 is released and we can tag the zip file as being intended for that version.

    Please review the validation results and fix all of the issues mentioned, namely:

    Release name ($plugin->release) not found in version.php

    I noticed that you are using to host your code. In order to provide a consistent experience for Moodle developers and site administrators, it is recommended to follow the repository naming convention for Moodle plugins, namely, moodle-{plugintype}_{pluginname}. The recommended repository name for this plugin would be:


    Would you consider renaming the Github repository so that it conforms with the naming convention? This is not a requirement if you have reasons for not wishing to rename it but I prefer to get the name of the repository settled before approving the plugin.

    I noticed that some of the copyrights reference a different author. It is preferred that all of the files that you have modified for this plugin have your name listed (or added) as the copyright older. For example,

    ./yui/src/button/js/button.js: * @copyright 2013 Damyon Wiese ./yui/build/moodle-atto_htmlplus-button/moodle-atto_htmlplus-button.js: * @copyright 2013 Damyon Wiese ./yui/build/moodle-atto_htmlplus-button/moodle-atto_htmlplus-button-debug.js: * @copyright 2013 Damyon Wiese
    I have a question about, lang/en/atto_htmlplus - is there a reason why pluginname is html rather than htmlplus? When looking at the list of the atto plugins having the same name may cause some confusion.

    I was able to install the plugin without any issues.

    For now, I am going to mark this plugin as needing more work until we get these issue resolved. Thanks for your patience with the review and approval process. Peace - Anthony

    Ilike to encourage following the naming convention for consistency and to have that name correct befor we approve the plugin.

  • Anthony Borrow
    Tue, Apr 8, 2014, 10:50 AM
    p.s. - You can ignore that last line above.

    Please provide a documentation URL. You are welcome to create your documentation in Moodle Docs, See for more information. Alternatively, given the simplicity of the plugin you could simply link to the README file.

    Please consider adding a screenshot of your plugin to help folks get an idea of what it looks like when installed or something that might visually highlight the differences between html and htmlplus.
  • Anthony Borrow
    Wed, Apr 23, 2014, 10:49 AM
    Andrew - Many thanks for tidying things up. I am going to go ahead and approve this plugin. Please do not hesitate to le me know if there is anything I can do to be supportive of your efforts. Peace - Anthony
  • Picture of David Mudrák
    Sat, May 17, 2014, 6:04 AM
    I just approved this as it was still in "Waiting for approval" queue. Andrew, may I ask for a shiny screenshot or two that would highlight some of the features? TIA
  • Picture of David Mudrák
    Sat, May 17, 2014, 6:05 AM
    Also, both your and description here would be really nice to have. Thanks.
  • Picture of Rob Arnts
    Mon, May 19, 2014, 8:20 PM
    Hi! Nice work!
    Is there gonna be an 2.6 version of this add-on? - Rob
  • Picture of Andrew Nicols
    Mon, May 19, 2014, 8:28 PM
    Hi Rob,

    I'm afraid not. The 2.7 version of atto is a completely different beast to the 2.6 version. We rewrote the API when we put it into Moodle core and I have no plans to write this plugin for the 2.6 version of the API.

    Best wishes,

  • Picture of Rob Arnts
    Mon, May 19, 2014, 11:28 PM
    Ok! 2bad. Thank you for the quick response! I should pressure the 2.7 update a little then wink
  • Marc Couture
    Fri, Apr 17, 2015, 2:47 AM
    Has anyone tested this plugin with Moodle 2.8? We're currently testing the latest version of Moodle and would like to integrate this Atto plugin. Thanks.
  • Marc Couture
    Wed, Apr 22, 2015, 2:33 AM
    It seems to work on our 2.8.5 test server...
  • Picture of Tom Ghan
    Sat, May 30, 2015, 3:18 PM
    Hi, any one please tell me how I can integrate this atto htmleditor to the custom build normal html form?
  • Picture of Holger Will
    Wed, Jun 3, 2015, 6:38 PM
    This doesn't seem to work on 2.9+.
    Is it posible to get a newer version which works on 2.9+
  • Picture of olivier delhaye
    Thu, Jun 4, 2015, 6:56 AM
    Thanks. smile
  • Just wondering . . .
    Mon, Jun 22, 2015, 7:17 AM
Please login to post comments