https://bugzilla.wikimedia.org/show_bug.cgi?id=46800

       Web browser: ---
            Bug ID: 46800
           Summary: VisualEditor: Inserting two paragraphs inside another
                    paragraph results in the original paragraphs being
                    separated by a blank paragraph
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Data Model
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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

<p>a</p><p>c</p><p></p><p>d</p><p>b</p>

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.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to