TinyMCE: Cloze Editor

Maintained by Picture of Andreas Glombitza Andreas Glombitza, Germán and temudgin Germán Valero
An interface that integrates with Moodles existing HTML editor (HTMLArea in 1.9 and TinyMCE in 2.x and 3.x) to support teachers in creating CLOZE (Embedded answers) questions in the GIFT syntax. It will also read and edit existing CLOZE items.
1669 sites
29 fans

The integration (PHP/javascript) is essentially a new button in the HTML editor which brings up an interface that helps create CLOZE questions in the correct syntax. It will also read and edit existing CLOZE items (which you have selected with your cursor).

Here's a demonstrator (which can also be used to create your own CLOZE quizzes):


For installation instructions and more, see the "More documentation on this plugin" link below.

This plugin only works with the TinyMCE editor.

Daniel Thies made a very nice CLOZE editor plugin for Atto.


Screenshot #0


Picture of Andreas Glombitza
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
  • Russell Cunning
    Tue, 15 Mar 2016, 8:04 AM
    Hi Andreas,
    I have just used your online Cloze editor, and decided to install the plugin. The plugin installed successfully. When I click on it a new window pops up just like your online editor - but all that is in the window is a 403 error.
    I'm hosted on a LiteSpeed server, which has caused issues with some of my WordPress plugins in the past - but I have no idea where to start looking for what could be wrong. Do you have any ideas? I love the tool, and in the worst case scenario, I can still use your online editor.
  • Picture of Andreas Glombitza
    Tue, 15 Mar 2016, 9:53 PM
    Dear Russell,

    it's hard to diagnose from a distance, and I have no experience with a LiteSpeed server, but it sounds as if the files are not in the correct directory. You may want to double-check the file locations with the paths listed in the Readme-file.

  • Germán and temudgin
    Thu, 26 Oct 2017, 10:28 PM
    Tested to work beautifully with Moodle 3.4beta (Build: 20171025) on 26th october 2017 smile
    Remember to change your preferred editor to TinyMCE smile
  • Germán and temudgin
    Thu, 26 Oct 2017, 10:33 PM
    Now there is also a cloze editor for Atto available for download (Moodle 2.7 to 3.4) at https://moodle.org/plugins/atto_cloze smile
  • Patrick Viney au MoodleMoot de Nîmes
    Fri, 15 Dec 2017, 12:28 AM
    Thank you for keeping up to date this great plugin. However, due to French localization, the pop up window I have is not wide enough. I can't find where to change the default width of this window in CSS. Can you help me ?
    Here is a screenshot : http://bit.ly/2j4EU3D
  • Germán and temudgin
    Sat, 16 Dec 2017, 11:07 PM
    Hi Patrick.

    The problem is not the french language localization. I just tested it in a new 3.4 local server in both french and mexican Spanish and it works OK.

    See the French and Spanish images at https://docs.moodle.org/34/en/Cloze_editor_for_TinyMCE#Other_languages

    Have you tried with a different browser?
    or from a different computer with a larger image display size?
  • Patrick Viney au MoodleMoot de Nîmes
    Mon, 18 Dec 2017, 10:02 PM
    Hi Germán,

    You're right, it depends a lot on the browser and computer that you use !

    I've tried with both Mac and PC computers, on several browsers, and it's not quite satisfying since it appears wrong on most of them. See this image where I made the comparison : https://tinyurl.com/y7t2hj3q
    (I kept 100% zoom on browser's screen for each screenshot)
  • Patrick Viney au MoodleMoot de Nîmes
    Mon, 12 Feb 2018, 10:55 PM
    Ok, we finally found out where to fix the width of this window :
    There, change width (originally 490) to 620.
    Don't forget to clear all caches : both browser AND Moodle caches
  • Germán and temudgin
    Sat, 28 Apr 2018, 12:21 AM
    Successfully tested to work with Moodle 3.5beta (Build: 20180425), in both Boost and Clean themes, on April 27th 2018. Remeber to choose TinyMCe as your upmost (preferred) text editor smile
  • Germán and temudgin
    Sun, 10 Jun 2018, 6:44 AM
    New plugin version v3.5-r1 (2018060916) for Moodle 3.4 and 3.5 branches released today.
    Added support for Privacy API.
    It has a wider window in order to fix the problem described by Patrick Viney smile
    Remember to choose TinyMCe as your upmost (preferred) text editor smile
  • Picture of Polaris Lee
    Mon, 3 Sep 2018, 11:25 PM
    Problems with cloze quiz scores.
    When randomly taking quizzes in the quiz bank, the cloze quiz will bring two or more multiple question unconditionally to 1 point.
    But when I choose the question in the quiz bank, get the original score.
    Is there a way to get the score when it's original even when it's random?
    I'm sorry my English.

    If 1cloze question have 2Q and 1point (1PointX2Q), Total score is 2Points
    Now => random import => 1Point (0.5x2)
    want to change => 2Point (1Pointx2Q)
  • Germán and temudgin
    Tue, 4 Sep 2018, 12:24 AM
    @Polaris Lee:

    It is standard for all Moodle quizzes that use RANDOMLY selected questions to set a 1 point score for all random questions in the quiz.

    This is the default situation for ALL question types, not only CLOZE.

    I am afraid this can not be changed; if you use randomly selected questions, each question scores one point .
  • Germán and temudgin
    Tue, 30 Oct 2018, 1:26 AM
    Tested to work nicely in Moodle 3.6dev+ (Build: 20181027) smile
  • Germán and temudgin
    Wed, 21 Nov 2018, 12:06 AM
    Tested to work nicely in Moodle 3.6beta (Build: 20181118) smile
    It will be available for installing in Moodle 3.6 when it is released in 3rd december 2018 smile
    Remember to choose TinyMCe as your upmost (preferred) text editor.
1 2 3

Commenting temporarily disabled