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

       Web browser: ---
            Bug ID: 46799
           Summary: VisualEditor: Inserting content and end of paragraph
                    leaves trailing empty 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 a <p>Bar</p> into <p>Foo</p> after the last 'o' results in:

<p>Foo</p><p>Bar</p><p></p>

The original paragraph is split, then the Bar is inserted, then the paragraph
is reopened again.

Or in transaction terms:

insert: '<p>Bar</p>'

coverts to

insert: </p><p>Bar</p><p>'

-- 
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