Page MenuHomePhabricator

Formatter: Cannot edit lead section of articles containing h1's
Closed, ResolvedPublic

Description

Create a new page with text:

1

1.1

1.2

2

2.1

2.2

h1

hello

Click edit after saving and a blank textarea is loaded :(


Version: unspecified
Severity: normal

Details

Reference
bz52857

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:46 AM
bzimport set Reference to bz52857.
bzimport added a subscriber: Unknown Object (MLST).

Change 79230 had a related patch set uploaded by Jdlrobson:
Bug 52857: Allow editing of sections containing h1s.

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

Change 79230 abandoned by Jdlrobson:
Bug 52857: Allow editing of sections containing h1s.

Reason:
We probably should change the mobile formatter to collapse on the section of the highest magnitude (h1, h2, h3). This seems like a better approach but will need us to rethink how we do our existing formatter

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

Change 83931 had a related patch set uploaded by Jdlrobson:
Work in progress: Collapse on h1s when present

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

Change 83931 merged by jenkins-bot:
Collapse on h1s when present

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