This PR adds the a11y and sre directories from mathjax back into the vendor support directory as well as the mml files necessary to make mathjax not crash on init.
It reenables the mathjax context menu and the math formula keyboard interaction (tab, space to open menu, enter to open formular explorer).
To disable the CHTML output option that crashed @mbotsch 's chrome when chosen (for me I simply get a "file not found" error in the console but everything keeps working) we need a bit of custom menu code on the mathjax initialisation to disable the menu option.
For me everything seems to work when checking the test/math-deck.md tests as well as some slides from @mbotsch 's gm-slides.
What I do not know or can test is how the menu behaves on touch / pen devices. Please check that it does not open in whiteboard mode when tapping on formulas or similar things one might do while presenting math slides.
This PR adds the a11y and sre directories from mathjax back into the vendor support directory as well as the mml files necessary to make mathjax not crash on init.
It reenables the mathjax context menu and the math formula keyboard interaction (tab, space to open menu, enter to open formular explorer).
To disable the CHTML output option that crashed @mbotsch 's chrome when chosen (for me I simply get a "file not found" error in the console but everything keeps working) we need a bit of custom menu code on the mathjax initialisation to disable the menu option.
For me everything seems to work when checking the
test/math-deck.md
tests as well as some slides from @mbotsch 's gm-slides.What I do not know or can test is how the menu behaves on touch / pen devices. Please check that it does not open in whiteboard mode when tapping on formulas or similar things one might do while presenting math slides.