VisualEditor: Reconsider list functions' application and clearing
Open, LowPublic

Description

Highlighting entire paragraphs and applying or removing list formatting should consistently apply or remove formatting, currently some items are ignored.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=42115

Details

Reference
bz66452
bzimport raised the priority of this task from to Low.
bzimport set Reference to bz66452.

(In reply to Jared Zimmerman (WMF) from comment #0)

Highlighting entire paragraphs and applying or removing list formatting
should consistently apply or remove formatting, currently some items are
ignored.

Which items?

Nested list items…

Shouldn't clear formatting clear nested list items styles as well? That would be my expectation.

(In reply to Jared Zimmerman (WMF) from comment #2)

Nested list items…

Shouldn't clear formatting clear nested list items styles as well? That
would be my expectation.

No. Lists, tables, blockquotes, headers, preformatted etc. are all considered "structural" changes rather than "styles".

Right now the selection-action behaviour for links is modelled after a number of different editors with some insanely complex edge-cases (e.g. applying "make numbered list" to a selection covering some numbered list items, some paragraphs, some nested bullet list sub-items, and some partials of the above).

I'd love for us to do a set of user tests around this. Just because word/gdocs/openoffice does something doesn't mean it is the correct thing to do. Not saying we got it wrong, but I think hearing specific feedback on this from users might be useful.

I agree that a table or a link isn't "formatting" in this sense, but lists don't fit as neatly into that category for me, I'd love to hear from users.

@abbey, can you create a card in the backlog to help the VE team validate some of the assumptions around formatting behavior best practices please.

(In reply to Jared Zimmerman (WMF) from comment #4)

I'd love for us to do a set of user tests around this. Just because
word/gdocs/openoffice does something doesn't mean it is the correct thing to
do. Not saying we got it wrong, but I think hearing specific feedback on
this from users might be useful.

Absolutely. Just flagging that we've already spent many dozens of hours going back and forth about this with users and designers. It's not remotely a green field. :-)

I agree that a table or a link isn't "formatting" in this sense, but lists
don't fit as neatly into that category for me, I'd love to hear from users.

Definitely.