Page MenuHomePhabricator

VE does not display maths equations when switching to from source editor to VE
Closed, ResolvedPublic1 Estimate Story Points


With the new math renderer with default as MathML (as now on equations do not appear when switching to VE from the source editor.

First edit in source mode

then switch to Visual Editor. The mathematical equations do not appear. You can edit the equation but after editing the equation is not visible. Even after save the equations are not visible and it take a reload to make them visible.

I'm using chrome on a Mac.


Related Gerrit Patches:
mediawiki/extensions/Math : masterLoad math styles with VE

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptMay 27 2016, 1:14 PM
Physikerwelt added a subscriber: Physikerwelt.EditedMay 27 2016, 1:31 PM

That's how it looks to me clicking on edit source directly

and when switching the editors it looks like that

The problem might be that ext.math.css is not loaded thus the css

display: block; margin-left: auto !important; margin-right: auto !important;

is not included.
Adding that manually solves the problem

Physikerwelt triaged this task as High priority.May 27 2016, 1:39 PM
Physikerwelt moved this task from Incoming to VisualEditor on the Math board.
Physikerwelt added a subscriber: Jdforrester-WMF.

Change 291232 had a related patch set uploaded (by Esanders):
Load math styles with VE

Change 291232 merged by jenkins-bot:
Load math styles with VE

Physikerwelt closed this task as Resolved.May 27 2016, 2:41 PM
Physikerwelt assigned this task to Esanders.

Works now in beta

Jdforrester-WMF set the point value for this task to 1.
Jdforrester-WMF moved this task from To Triage to Blocked on the VisualEditor board.