Change behavior of list insertion buttons to add an item per line of selection
meta:293942
Currently, we simply wrap the whole selection in a bullet or ordered list item. This behavior differs from how pretty much every editor out there works (TipTap/ProseMirror, GitHub's editor) and goes contrary to user expectations.
Ironically, Stack Overflow's editor is the only odd one out that I am aware of. Given that, I am not immediately jumping to implementing the change - some preliminary discussion is warranted.
Stack Overflow's editor is the only odd one out that I am aware of.
The new stack exchange editor inserts an item per line of selection (just like GitHub, Microsoft Word, gdoc, etc)
@Franck-Dernoncourt are you sure it does it? It might just be a bug, of course - if it is, there's even more reason to change to insert an item per line break:
https://github.com/user-attachments/assets/9a72f5fa-1ea7-4cbb-9567-f3853530f2fb
I don't feel any need to be consistent with SE and inconsistent with almost everyone else. In particular, that video looks like a bug; it even kills the line breaks.
@Oaphi Sorry, I forgot to mention that I was using Stack's "Rich Text Mode," which now seems to have disappeared. The Markdown mode, which is the only mode on SO I believe, behaves differently and is somewhat buggy indeed.
(GIF source; Author: Justin)
Ah, right, makes sense - yeah, I think we are all in agreement then? Let's change to inserting an item per line
@Oaphi that sounds good to me, thanks!