Page MenuHomePhabricator

HTML entities in section headings show on a separate line in mobile visual editor
Closed, ResolvedPublic

Description

HTML entities in section headings show on a separate line in mobile visual editor. Apparently CSS for collapsible sections matches the Parsoid markup.

Example:

Read modeEdit modeEdit mode (after the patch)
image.png (568×320 px, 231 KB)
image.png (568×320 px, 156 KB)
image.png (568×320 px, 158 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
JTannerWMF subscribed.

Moving this due to it being an edge case.

Change 529974 had a related patch set uploaded (by DLynch; owner: DLynch):
[mediawiki/skins/MinervaNeue@master] Don't apply some heading styles incorrectly within VisualEditor

https://gerrit.wikimedia.org/r/529974

Change 531298 had a related patch set uploaded (by DLynch; owner: DLynch):
[mediawiki/extensions/MobileFrontend@master] In VE undo some MinervaNeue heading styles

https://gerrit.wikimedia.org/r/531298

Change 529974 abandoned by DLynch:
Don't apply some heading styles incorrectly within VisualEditor

Reason:
Moved to other patch

https://gerrit.wikimedia.org/r/529974

Change 531298 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] In VE undo some MinervaNeue heading styles

https://gerrit.wikimedia.org/r/531298

Somebody edited my example article, so I found a better example.