Page MenuHomePhabricator

[EPIC] Support lead paragraph hoisting in Parsoid HTML
Closed, ResolvedPublic

Description

Goal
We revisit the lead paragraph hoisting code in the context of Parsoid and ensure that we can continue to support it going forward.

Objectives

  • We review how the existing code works
  • We review simpler alternatives.
  • We implement changes where needed to adjust the way it works.

Success Criteria

  • We are not blocking the Parsoid roll out to projects that depend on this feature.
  • The code that supports lead paragraph in Parsoid should be equal to or less than the code that supports lead paragraph in the legacy parser
  • There is a clear path to remove the old code when the legacy parser is finally decommissioned.
  • Hoisting the lead paragraph doesn't /severely impact/ the server processing time
  • The solution should not impact accessibility

Event Timeline

Jdlrobson renamed this task from Support lead paragraph hoisting in Parsoid HTML to [EPIC] Support lead paragraph hoisting in Parsoid HTML.Nov 14 2024, 11:36 PM
Jdlrobson moved this task from Now to Next on the Web-Team-Roadmap board.