- edited description
MathJax not triggered when using activity "TextField"
Moodle Version is 3.10
The problem (at least for me) is easily reproduced: Create a “Textfield” activity and insert some mathematical equations. They will not be rendered by MathJax, instead staying at their Tex-notation. If I’m using a different type of course format, this problem is not triggered and it does render correctly.
This what it looks like:
This is what it looks like when I switch to, e.g. Edwiser Course Format:
Comments (11)
-
reporter -
reporter Okay, had the time to do further research. Now, when I use a different course format, say, Edwiser, then
window.Mathjax
as a global object does exist. But when I use Tiles as a course format thenwindow.Mathjax
is null.This, of course, explains why the formulas are not typeset.
-
repo owner - changed status to resolved
Fixes issue
#60mathjax filter not applied to content→ <<cset 8442878b5a6d>>
-
repo owner @Johannes Hass thanks for the report and apologies for the long delay. The fix for this is in the branch for Moodle 3.11 if you would like to test. I plan to release to moodle.org no later than 2-3 weeks
-
reporter Thanks a lot! I’ll try to test it as soon as possible - school starts again in 4 weeks, though, so there’s no actual rush
-
reporter Sorry for the late reply but I just installed the latest version and the problem does not actually seem to be fixed. I can see the formulas now in “Edit” mode - but as soon as I exit editing mode, I just see the raw Latex code again.
This is editing mode on:
This is with editing mode off:
-
reporter - changed status to open
Not fixed, sorry.
-
repo owner - changed status to resolved
Fixes issue
#60mathjax JS not loading→ <<cset 33b3107843a2>>
-
repo owner Johannes please would you try again using the latest 3.11 version from moodle.org? Thanks
-
reporter Yeah, it’s working now, thanks! Found another (unrelated) bug, though
-
My moodle-Hoster installed the newest Version 3.11.1.1 on Friday, but I still can see the formulas correctly only when I switch OFF the “Animated Navigation”. Johannes, can you test this please?
- Log in to comment