Opened 4 years ago

Last modified 4 years ago

#11298 confirmed Bug

Mathjax plugin - baseline for eqations and text is defferent

Reported by: João Palhoto Matos Owned by:
Priority: Low Milestone:
Component: UI : Widgets Version: 4.3 Beta
Keywords: Cc:

Description (last modified by Jakub Ś)

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:

Attachments (1)

baseline.png (3.4 KB) - added by Jakub Ś 4 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 4 years ago by Jakub Ś

Description: modified (diff)
Keywords: MathJax removed
Version: 4.34.3 Beta

comment:2 Changed 4 years ago by Jakub Ś

Priority: NormalLow
Status: newconfirmed
Summary: Improvements to Mathjax pluginMathjax 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 4 years ago by Jakub Ś

Attachment: baseline.png added

comment:3 Changed 4 years ago by Piotr Jasiun

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy