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

James Forrester <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal
             Status|NEW                         |ASSIGNED
          Component|Editing Tools               |General
           Assignee|[email protected]         |[email protected]
            Summary|VisualEditor: Removing and  |VisualEditor: Newly-created
                   |replacing bullets adds      |list items are deliberately
                   |blank lines                 |not merged with nearby
                   |                            |lists - change this?
           Severity|normal                      |enhancement

--- Comment #1 from James Forrester <[email protected]> ---
(In reply to comment #0)
> In Firefox 20.0.1:
> 
> 1. Edit a page that has a bulleted list.
> 2. Place the cursor on the first bullet item.
> 3. Click the "Bullet List" button. The first bullet item loses its bullet.
> (Correct.)
> 4. Click the "Bullet List" button a second time. The first bullet comes back
> (correct), but there is now a blank line displayed below it.
> 
> Similarly, if you remove & add a bullet in the middle of the list, you get
> blank lines above AND below the item.
> 
> Similarly, if you do this with a numbered list, the blank line breaks the
> numbering: the list items below the blank line start over from "1".

Yes, because otherwise we'd be unexpectedly merging a <p> with a following <ul>
(or whatever). You can always actively choose to merge the lists from this
position by deleting the blank line between the lists (technically, this is a
slug).

This is the deliberately-chosen behaviour for this. I take it you'd expect
lists to instead automatically merge, and you'd have to split them rather than
the other way around? X followed by X is not generally a direct reverse step
(that's what undo is for), but you expected it to work that way around?

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

Reply via email to