Opened 6 years ago

Mathjax plugin - baseline for eqations and text is defferent

Reported by: Owned by: João Palhoto Matos Low UI : Widgets 4.3 Beta

I do use MathJax and ckeditor in my sites. But I do not intend to use the mathjax plugin in its current state. There are two reasons:

comment:1 Changed 6 years ago by Jakub Ś

Description: modified (diff) MathJax removed 4.3 → 4.3 Beta

comment:2 Changed 6 years ago by Jakub Ś

Priority: Normal → Low new → confirmed Improvements to Mathjax plugin → Mathjax plugin - baseline for eqations and text is defferent

Please have a look at attached file. You can see that formulas are positioned a little bit lower when comparing them to the text.

This problem can only be seen in wysiwyg mode while it disappears no target page. When you save your page or simply see its preview you will see that all is back to normal now.

Changed 6 years ago by Jakub Ś

Baseline in incorrect because we MathJax is in the iFrame. We could read equations shift from what MathJax generate and apply this shift to the iFrame. It is doable but not trivial, because part of this shift already works with iFrame and MathJax's HTML is quite messy.
Because generated HTML does not contain iFrame and show good baseline (you can check in preview that everything is ok there), I think this ticket has a low priority.