Page MenuHomePhabricator

VisualEditor: Inserting two paragraphs inside another paragraph results in the original paragraphs being separated by a blank paragraph
Closed, ResolvedPublic


e.g. inserting <p>c</p><p>d</p> into <p>ab</p> between a and b results in


This is because fixUpInsertion fixes c & d separately and after inserting c (by closing out a) it decides to re-open the paragraph it closed (sensible), but the d comes along as splits that new paragraph (not sensible), resulting in a blank paragraph between the two.

Version: unspecified
Severity: normal