plugin mathjax – MathType for TinyMCE not working on Chrome(Works on Firefox)
Question
I’m using MathType for TinyMCE in WordPress to write formulas and display them on the front end. But for some reason, it works fine on Firefox and displays properly but for Chrome it is not working.
This is how it displays on Firefox
This is how it is displayed on Chrome
it is working fine on Firefox. I want it to work with Chrome as well. What can I do to achieve this?
in progress
0
11 months
2021-06-21T09:14:34-05:00
2021-06-21T09:14:34-05:00 0 Answer
0 views
0
Answer ( 1 )
So I went off the topic of WordPress and searched a little more and found that Chrome doesn’t support MathML so I added these two scripts from another answer in the and it is working absolutely fine now.
<script>window.MathJax = { MathML: { extensions: ["mml3.js", "content-mathml.js"]}};</script> <script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=MML_HTMLorMML"></script>