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

       Web browser: ---
            Bug ID: 58757
           Summary: VisualEditor:The numbered list does not get reordered
                    properly after deleting the first item of the list
                    creating a difference in Edit mode and Read mode
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: rm...@wikimedia.org
          Reporter: ryasm...@wikimedia.org
                CC: jforres...@wikimedia.org, jh...@wikimedia.org,
                    krinklem...@gmail.com, rm...@wikimedia.org,
                    ryasm...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

Steps to reproduce:

1.Open the editor
2.Create a numbered list with 4 items.For example:
# item 1
# item 2
# item 3
# item 4

3.Now place the cursor at the end of item 2 and press enter
4.Add a new item 3( it gets added properly)
5.Now place the cursor just before item 1 and press enter to move it to the
next line 
6.Type a new item1 in first line
7.Delete the new item

Observed Result:

The order  (1.) does not get deleted.In read mode the list appears like this:

 1.
 2. item 1
 3. item 2
 4. new item 3
 5. new item 4
 6. item 3
 7. item 4 

After saving, in read mode the list appears as follows:

1.item 1
2.item 2
3.new item 3
4.new item 4
5.item 3
6.item 4

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to