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



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:36 AM
bzimport set Reference to bz46800.
Esanders created this task.Apr 2 2013, 5:27 PM

NB: this bug is not restricted to paragraphs