Cloze Editor

TinyMCE (legacy) ::: tinymce_clozeeditor
Maintained by Andreas Glombitza, Germán and TemudginGermán Valero
An interface that integrates with Moodle 3.x, 4.0 and 4.1 TinyMCE (legacy) editor to support teachers in creating CLOZE (Embedded answers) questions in the GIFT syntax. It will also read and edit existing CLOZE items. THIS PLUGIN WILL NOT WORK IN MOODLE 4.2 ONWARDS. For Moodle 4.1, 4.2 and newer branches please see https://moodle.org/plugins/tiny_cloze
Latest release:
2172 sites
423 downloads
51 fans
Current versions available: 2

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):

http://goo.gl/zxRQmN

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

This plugin only works with the TinyMCE (legacy) editor.  IT WILL NOT WORK WITH MOODLE 4.2 and newer Moodle branches that use a new TinyMCE 6 editor and no longer have the legacy TinyMCE editor available..

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

A new plugin for the new TinyMCE 6 editor (in Moodle 4.1, 4.2 and newer branches) is available in the Moodle plugins database.

Screenshots

Screenshot #0

Contributors

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

Comments

  • Andreas Glombitza
    Thu, 6 Mar 2014, 6:52 PM
    Hi Anthony,

    I'll look into it later today - the missing release # isn't really a problem (I'll just add it to version.php). About the lang string messages you receive for the Moodle 2.0-2.3 packages - I don't know enough about the "intelligence" of the plugin validation (and its connections to AMOS), but I suspect that it expects lang strings to be in a different format/directory than they are.

    Does the database (a) *correctly* validate TinyMCE plugins for Moodle 2.0 through 2.3 (considering that they necessarily involved patching the core file lib.php), or (b) does it (falsely) expect them to conform t the standard plugin format of Moodle 2.4+? In case (b), I could probably put in some "dummy" lang files just to "appease" the plugin database validation - but I wonder whether this would really help anybody. In case (a), I'd need to check whether the lang strings are maybe in the wrong place altogether.

    Best,
    Andreas
  • Andreas Glombitza
    Mon, 7 Apr 2014, 7:40 PM
    Hi German,
    yes, after talking to Aparup last month, I "moved" (rather, copied) the plugin to this new location at https://moodle.org/plugins/view.php?plugin=tinymce_clozeeditor. It makes installation more straigtforward. In the "old" location's description I wrote that the plugin has moved and disabled all the downloads. It can be deleted, but so far I haven't found the right button wink
  • Luis G.
    Sun, 28 Sept 2014, 11:53 AM
    Hi everybody,
    I am trying to install ClozeEditor. I have moodle 1.9 and for this I followed the instructions, they have had no effect within moodle. So ask for help because it does not know what's happening, the exact version is 1.9.16.
  • Andreas Glombitza
    Tue, 30 Sept 2014, 4:40 PM
    Dear Luis,
    could you check whether you have the file "insert_cloze.php" in the right directory of your moodle install: "/lib/editor/htmlarea/popups"?

    Did you also replace the file "/lib/editor/htmlarea/htmlarea.php" with the version from the download package (AFTER backing up the file in your installation)?

    Best,
    Andreas
  • Luis G.
    Wed, 1 Oct 2014, 10:39 AM
    Thanks Andreas, i see my error, and cloze editor work in my moodle.
  • Andreas Schenkel
    Sat, 17 Jan 2015, 2:32 AM
    Will it work in Atto in the future?
  • Gorn ---
    Wed, 25 Feb 2015, 9:03 PM
    Hello Cloze-Developers!
    We're using your plugin with Moodle 2.7.5 and in general we don't have any problems, it works as intended.
    Only after the latest security updates one of our users has complained, that she's unable now to add formatting to the questions (like bold or color or the like), because TinyMCE seems to then add a lot of

    -tags now that destroy the Cloze questions. We're not sure if it's either Moodle or TinyMCE that is the culprit here or if maybe your plugin needs another update. If you have any idea what might be different compared to how your plugin worked together with TinyMCE before, we'd appreciate any information we can get in order to solve our user's problem.

    Thank you anyway for your work, it's a great plugin.

  • Clemente Luna
    Thu, 16 Apr 2015, 11:38 PM
    hola Que tal alguien me puede ayudar ha usado este complemento en la versión 2.8 y como funciona, gracias., saludos
  • Health & Safety Training Ninja
    Fri, 28 Aug 2015, 9:17 PM
    This plugin doesn't appear to work on Moodle 2.3.11 - the lib.php file is not contained within moodle version 2.3.11 here: lib/editor/tinymce/lib.php. The instructions say this file will be overwritten with a modified version. But, there's nothing to overwrite. So, I assume as moodle 2.3.11 does not contain this file natively, nothing is being over written and the lib.php file is not in use; and is the reason it the editor does not display the icon to use the closeditor.
  • Germán and Temudgin
    Sun, 30 Aug 2015, 12:31 AM
    Hi Steve,
    As for Moodle 2.3.11, according to https://download.moodle.org/releases/legacy/ Support for the 2.3 branch has been discontinued. We highly recommend you upgrade!

    If you do upgrade your Moodle server, please notice that the CLOZE plugin only works with the TinyMCE editor and the newer Moodle branches have the Atto editor as default. Please see the documentation at https://docs.moodle.org/29/en/Cloze_editor_module

    If you can not upgrade, maybe you can use the free online CLOZE editor available at http://projects.ael.uni-tuebingen.de/quiz/htmlarea/index.php .

    As the 2.3 Moodle branch is very old, I do not currently have one such server available for testing, and it might take me a while to install one and look into your issue.
  • Ellen Spertus
    Sat, 26 Sept 2015, 12:07 AM
    Thanks for making this available. I am using Moodle 2.9.2 and TinyMCE 3.5.1. There is a lot in my lib/editor/tinymce/lib.php file, including changes I made to add other plugins. Could you give me any guidance on how to integrate your lib.php into my existing lib.php? Thanks.
  • Đinh Lư Giang
    Fri, 9 Oct 2015, 11:30 AM
    Does it work for Moodle 2.9, this excellent plugin?
  • Germán and Temudgin
    Fri, 20 Nov 2015, 1:38 AM
    I had forgotten to mention that this plugin works with Moodle 3.0 stable branch as long as TinyMCE is selected as the Text editor instead of Atto smile
  • Gorn ---
    Mon, 7 Dec 2015, 5:28 PM
    Hi there,

    since Atto is going to be Moodle's standard editor from now on, will the next installments of the cloze editor work with Atto too? With TinyMCE no longer being the main editor, there's no guarantee new Moodle versions will continue to have it included, so cloze might have to make the switch to Atto anyway?
  • t k
    Tue, 9 Feb 2016, 3:01 PM
    Would it be possible to add the new 3.0 shuffle questions to the editor? https://docs.moodle.org/30/en/Embedded_Answers_%28Cloze%29_question_type#Format
Please login to post comments