CLOZE Editor

Maintained by Andreas Glombitza, Germán and TemudginGermán Valero
An interface that integrates with Moodles existing HTML editor (HTMLArea in 1.9 and TinyMCE in 2.x) to support teachers in creating CLOZE (Embedded answers) questions in the GIFT syntax. It will also read and edit existing CLOZE items.
Latest release:
7 fans

THIS PLUGIN HAS MOVED. You will find it under


Screenshot #0


Andreas Glombitza (Lead maintainer)
Germán and Temudgin
Germán Valero: Documentation, translation and testing
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Anthony Borrow
    Mon, Oct 3, 2011, 6:54 PM
    Andreas - I'll work with you on getting this into a format that is more in line with how the Moodle plugins are intended to work. Each zip file is intended to be for a particular version of Moodle and be able to be dropped in to the system. Because this is a patch we will need to see how best to handle this. I need to do some check as we are trying to move away from patches. Peace - Anthony
  • MD shot of me from his iphone4
    Tue, Feb 5, 2013, 10:42 AM
    this entry is currently unapproved.
    Should we keep it here as currently being worked on, delete it or consider putting it into the "Others" category if it still doesn't conform to plugin standards?
  • Tue, Feb 5, 2013, 7:56 PM
    unfortunately, we currently don't have any capacity for "standardizing" this patch (I'm also not sure whether it's actually possible, last time I checked there seemed to be no possibility/standard way of having TinyMCE plugins in Moodle AT ALL, which would slightly defeat the purpose of switching to a "plugable" editor from 2.0 onward). (Anthony?)

    In any case, we'll keep hosting it on Google Code for all those "daring and in need", and also offer a fully functional installed online version to use for teachers, accessible from

    I would like to point out that I find the lack of ANY existing interface for CLOZE question a curious oversight - CLOZE is probably the number one use case Moodle quiz has for language learning purposes, yet becaues of the syntax, no teacher I've met ever dared to use it. That's why we needed to create this patch (and it cost quite some time and resources).

    (just to make sure I'm not misunderstood: the syntax is fine and straightforward _for programmers and people with time on their hands and enthusiasm to learn it_ - but just not feasible for your average teacher)
  • MD shot of me from his iphone4
    Mon, Apr 8, 2013, 9:41 AM
    Hi Andreas,
    You can look at which is for moodle 2.4 onwards to implement tinymce plugins.

    I think this is fine under the "Others" category and am approving this now. Hopefully this can become more integrated with moodle as the need is valid, i've opened up MDL-39013 to consider this.

    Thanks for explaining and contributing this Andreas smile
  • Tue, Sep 10, 2013, 3:31 PM
    It is very useful.Thanks.But this is not working in IE8. Please give support.
  • Germán and Temudgin
    Wed, Oct 9, 2013, 10:54 AM
    Hi Andreas,
    At you have four distinct versions of this plugin for Moodle 1.9, 2.0, 2.1 and 2.4.
    Are those the newest versions?

    Wouldn't it be advisable to link to those four individual files instead of the current link, to in the download tab, that has one ZIP file with seemingly all versions inside ?

    The instruccions for the 2.4 version in google code were very straightforward: "This is a build for Moodle 2.4, using the new TinyMCE plugin architecture. Simply drop the contents of the ZIP-file into (yourmoodle)/lib/editor/tinymce/plugins, go to "Notifications" and install."

    And it works beautifully in my 2.5.2 local server.

    Thanks for a very nice add-on.
  • Germán and Temudgin
    Fri, Oct 11, 2013, 8:03 AM
    Moodle Documentation for this module is at .

    The Moodle 2.4 version of this plugin works perfectly wih Moodle branch 2.5
  • Germán and Temudgin
    Wed, Feb 26, 2014, 8:36 AM
    The ZIP file hosted at has four distinct versions of this plugin for Moodle 1.9, 2.0, 2.1 and 2.4.

    The ZIP file for Moodle 2.4 also works for Moodle 2.5, 2.6 and 2.7 DEV (as of february 25th 2014).

    Please vote at if you would like this feature integrated into Moodle core.
  • Wed, Feb 26, 2014, 5:52 PM
    Dear German,

    thanks for your comments! I've updated the description accordingly. If you still find something amiss in the description/instructions, please comment!

  • Thu, Feb 27, 2014, 6:04 PM

    I'm interested in this plugin, but I've seen that the default text editor in Moodle 2.7 will be Atto:

    My concern and my question is about this: is there any roadmap to make this plugin work in Atto?

  • Thu, Feb 27, 2014, 6:33 PM
    Dear Iñigo,

    the short answer is: no, there is no roadmap. Whether there will be a version for Atto is uncertain at this point.

  • Thu, Feb 27, 2014, 9:57 PM
    Thanks for your fast answer!

    I hope it finally ends integrated in core then.
  • Sun, Dec 4, 2016, 11:52 AM
    Hello, Andreas! First I'd like to thank you for your work. The plugin is just great and very useful indeed. But lately I've got a question on how can I pass a JS variable as the right answer... I mean, if we have a question string:


    and code like this:

    // the container
    Then the question string should look somewhat like this:



    The problem is, that anything in between % and # signs is taken as text. So the question is how to make the system read the html code in a text placeholder? I gues there should be away.

    And again thank you for your work!
  • Wed, Jan 4, 2017, 8:53 PM
    Dear Boris, using Javascript to generate the responses is an interesting approach. Have you found a solution yet? I've never tested a scenario like this (and can't really test it now) - my guess would be that the quiz-modle parser doesn't allow html inside curly brackets and replaces tags by htmlentities?
    Best, Andreas
Please login to post comments