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