Filters: MathType filter by WIRIS

Maintained by Picture of WIRIS team SUPPORT WIRIS team SUPPORT
Extend your rich text editor with a fully WYSIWYG equation editor for math and chemistry expressions.
2711 sites
25 fans
Moodle 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.2, 3.3, 3.4

MathType for Moodle

Add a fully WYSIWYG for scientific expressions (WIRIS EDITOR) and, optionally, an advanced calculator tool (WIRIS CAS). Enabled editing to STEM related topics (Science, Technology, Engineering and Mathematics). 

WIRIS EDITOR is a mathematical visual (WYSIWYG) editor. You can use a large collection of icons nicely organized in thematic tabs in order to create formulas or equations for any web content. You can create and edit your formulas in a visual environment, just click on the WIRIS editor icon for creation or double-click on the formula for edition. No maintenance when upgrading Moodle to a new minor version. It is based on JavaScript and compatible with HTML 5.

WIRIS EDITOR offers a chemistry toolbar. The maths and the chemistry palette are available from different icons in the rich text editor.

WIRIS CAS is an online platform for mathematical calculations designed for education. You can access a powerful calculation toolbar through an HTML page that includes integrals and limits calculation, function graphing in 2D or 3D and symbolic matrices manipulation, among others. WIRIS cas covers all mathematical topics from primary school to university level (Calculus, Algebra, Geometry, Differential Equations...).

WIRIS tools can be used for free up to a certain level of use per natural year. Please read license conditions and prices at WIRIS store.

In order to use WIRIS tools for editing you need to combine WIRIS filter with  WIRIS plugin for Atto and/or WIRIS plugin for TinyMCE.

More than editing, better quizzes.

Interested in mathematical quizzes with random parameters and automated evaluation?
Must check our new STEM question types at WIRIS quizzes plugin.

Previous version of Moodle?

Running a previous version of Moodle? You can download the components from


This plugin is part of set WIRIS math & science.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6
Screenshot #7


Picture of WIRIS team SUPPORT
WIRIS team SUPPORT (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of WIRIS team SUPPORT
    Fri, 15 Jan 2016, 6:32 PM
    @Ravi Lamontagne

    Please note that WIRIS plugin/filter is compatible with Moodle 3.0 since version 3.54.1.
    Check at /filter/wiris/info.php if your version number is equal or higher than 3.54.1.
  • Picture of Matt Petro
    Wed, 27 Jan 2016, 3:29 AM
    We're having issues where the TinyMCE WIRIS editor doesn't work properly in the second text editor on a page. For example, create a new "Page" resource and add math to both the content and description. If we then edit the page a second time, the math in the content is mangled with the addition of partial images tags. This is with the latest WIRIS and moodle 2.9.4. Downgrading our previous version of wiris editor fixes the problem.
  • Picture of Matt Petro
    Wed, 27 Jan 2016, 4:05 AM
    Another problem we've noticed is that copy and paste of equations isn't working in Atto. The pasted equation is recognized only as an image by the editor. This is in Chrome and firefox under Moodle 2.9.4 with the latest WIRIS editor.
  • Picture of WIRIS team SUPPORT
    Wed, 27 Jan 2016, 3:51 PM
    @Matt Petro, Thanks for your feedback, The dev team is aware of the issue and are currently working on a fix.

    We will let you know once the issue has been resolved

  • Picture of Ravi Lamontagne
    Mon, 1 Feb 2016, 6:40 AM
    Yes I can confirm that I have the latest version of the filter installed. I have upgraded all the components to the latest version. This includes the plugin for ATTO and TinyMCE. I also have the wiris filter second on the list of filters with the MathJax on top. Still the icon doesn't show. I have also doubled check to ensure that I have included in the atto and tinymce toolbar configuration. For atto it is just "maths" and for tinymce it is " tiny_mce_wiris_formulaEditor, tiny_mce_wiris_CAS". Still it doesn't work.
  • Picture of WIRIS team SUPPORT
    Mon, 1 Feb 2016, 5:40 PM
    @Ravi Lamontagne.

    Could you contact us at to be more specifics about your issue?

  • Picture of Loïc T34
    Wed, 19 Apr 2017, 11:54 PM
    I'm currently migrating from Moodle 2.8 to Moodle 3.2.
    And the filter_wiris plugin poses a problem during the migration.
    I get this error:

    Erreur d'exécution DDL sql
    Erreur: 1071 Specified key was too long
    CREATE TABLE mdl_filter_wiris_formulas (
    id BIGINT(10) NOT NULL auto_increment,
    md5 VARCHAR(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
    content LONGTEXT COLLATE utf8mb4_unicode_ci NOT NULL,
    , UNIQUE KEY mdl_filtwiriform_md5_uix (md5)
    ENGINE = InnoDB
    DEFAULT COLLATE = utf8mb4_unicode_ci ROW_FORMAT=Dynamic
    Error code: ddlexecuteerror

    Has anyone ever faced this mistake?

    Thank you
  • Picture of WIRIS team SUPPORT
    Fri, 21 Apr 2017, 4:17 PM
    Hello @Loi

    We have checked 2.8 --> 3.2 migration and we can't reproduce your issue.

    Your problem seems related to your DB configuration. Please write us at so we can better help you.

    Thanks for your feedback,

  • Picture of WIRIS team SUPPORT
    Fri, 28 Apr 2017, 3:57 PM

    Reviewing your issue we detect a bug with utfmb4 collation. We are working to solve it in our next release.


  • Hello, I installed the wiris filter and math editor. When I enable filter, I see (moodle 2.5) :
    uncaught exception: Http Error #500

    in file: /home/www/moodle/public_html/filter/wiris/integration/lib/com/wiris/plugin/impl/HttpImpl.class.php line 61
    #0 [internal function]: com_wiris_plugin_impl_HttpImpl_0(Object(com_wiris_plugin_impl_HttpImpl), NULL, 'http://www.wiri...', 'Http Error #500')
    #1 /home/www/moodle/public_html/filter/wiris/integration/lib/php/Boot.class.php(769): call_user_func_array('com_wiris_plugi...', Array)
    #2 [internal function]: _hx_lambda->execute('Http Error #500')
    #3 /home/www/moodle/public_html/filter/wiris/integration/lib/haxe/Http.class.php(532): call_user_func_array(Array, Array)
    #4 [internal function]: haxe_Http_5(true, Object(com_wiris_plugin_impl_HttpImpl), Object(com_wiris_plugin_impl_HttpImpl), Array, Object(haxe_io_BytesOutput), true, 'Http Error #500')
    #5 /home/www/moodle/public_html/filter/wiris/integration/lib/php/Boot.class.php(769): call_user_func_array('haxe_Http_5', Array)
    #6 [internal function]: _hx_lambda->execute('Http Error #500')
    #7 /home/www/moodle/public_html/filter/wiris/integration/lib/com/wiris/plugin/impl/HttpImpl.class.php(27): call_user_func_array(Array, Array)
    #8 /home/www/moodle/public_html/filter/wiris/integration/lib/haxe/Http.class.php(444): com_wiris_plugin_impl_HttpImpl->onError('Http Error #500')
    #9 /home/www/moodle/public_html/filter/wiris/integration/lib/haxe/Http.class.php(458): haxe_Http->customRequest(true, Object(haxe_io_BytesOutput), NULL, NULL)
    #10 /home/www/moodle/public_html/filter/wiris/integration/lib/com/wiris/plugin/impl/HttpImpl.class.php(40): haxe_Http->request(true)
    #11 /home/www/moodle/public_html/filter/wiris/integration/lib/com/wiris/plugin/impl/RenderImpl.class.php(252): com_wiris_plugin_impl_HttpImpl->request(true)
    #12 /home/www/moodle/public_html/filter/wiris/integration/lib/com/wiris/plugin/impl/TextFilter.class.php(58): com_wiris_plugin_impl_RenderImpl->showImage(NULL, 'ͫ...', Object(com_wiris_plugin_impl_GenericParamsProviderImpl))
    #13 /home/www/moodle/public_html/filter/wiris/integration/lib/com/wiris/plugin/impl/TextFilter.class.php(185): com_wiris_plugin_impl_TextFilter->math2Img('ͫ...', Array)
    #14 /home/www/moodle/public_html/filter/wiris/integration/lib/com/wiris/plugin/impl/TextFilter.class.php(215): com_wiris_plugin_impl_TextFilter->filterMath(Object(com_wiris_plugin_impl_TextFilterTags), '
    \xC2\xABmath \xC2\xABmo\xC2...', Array, true)
    #15 /home/www/moodle/public_html/filter/wiris/integration/lib/com/wiris/plugin/impl/TextServiceImpl.class.php(9): com_wiris_plugin_impl_TextFilter->filter('

    \xC2\xABmath \xC2\xABmo\xC2...', Array)
    #16 /home/www/moodle/public_html/filter/wiris/filter.php(113): com_wiris_plugin_impl_TextServiceImpl->filter('

    \xC2\xABmath \xC2\xABmo\xC2...', Array)
    #17 /home/www/moodle/public_html/lib/filterlib.php(167): filter_wiris->filter('

    \xC2\xABmath \xC2\xABmo\xC2...', Array)
    #18 /home/www/moodle/public_html/lib/filterlib.php(205): filter_manager->apply_filter_chain('

    \xC2\xABmath \xC2\xABmo\xC2...', Array, Array)
    #19 /home/www/moodle/public_html/lib/filterlib.php(337): filter_manager->filter_text('

    \xC2\xABmath \xC2\xABmo\xC2...', Object(context_module), Array)
    #20 /home/www/moodle/public_html/lib/weblib.php(1158): performance_measuring_filter_manager->filter_text('

    \xC2\xABmath \xC2\xABmo\xC2...', Object(context_module), Array)
    #21 /home/www/moodle/public_html/lib/weblib.php(1447): format_text('

    \xC2\xABmath \xC2\xABmo\xC2...', '1', Array, NULL)
    #22 /home/www/moodle/public_html/mod/assign/renderer.php(225): format_module_intro('assign', Object(stdClass), '91180')
    #23 /home/www/moodle/public_html/lib/outputrenderers.php(215): mod_assign_renderer->render_assign_header(Object(assign_header))
    #24 /home/www/moodle/public_html/mod/assign/locallib.php(3601): plugin_renderer_base->render(Object(assign_header))
    #25 /home/www/moodle/public_html/mod/assign/locallib.php(497): assign->view_submission_page()
    #26 /home/www/moodle/public_html/mod/assign/view.php(53): assign->view('')
    #27 {main}
  • Picture of WIRIS team SUPPORT
    Thu, 11 May 2017, 5:14 PM

    This issue is fixed in 4.3.1 version

    Thanks for your feedback
  • Picture of WIRIS team SUPPORT
    Thu, 11 May 2017, 5:39 PM
    @Дмитрий Александрович Штырлин

    We can't reproduce your issue in our end (installing 4.3.1 version on a Moodle 2.5)

    Your problem seems related to your end configuration. Please write us at so we can better help you.

  • Andrew Normore
    Tue, 23 Jan 2018, 4:01 AM
    This plugin is absolutely outstanding. Thank you. Installed on Moodle 3.3.2 with 0 problems.
  • Picture of WIRIS team SUPPORT
    Tue, 23 Jan 2018, 8:49 PM
    @Andrew Normore: Thank you very much for your feedback, we really appreciated it!
  • Picture of Betty Cheek
    Tue, 27 Feb 2018, 1:25 AM
    I am trying to find out if the WIRIS chemistry editor meets WCAG 2.0 accessibility. Anyone know?
1 2 3 4
Please login to post comments