This only started happening minutes ago. When I type "1. ", Lex immediately indents that as a list. To go back to regular text, I press backspace, and the number goes back to regular text. But as of a few minutes ago, when I press backspace the number itself disappears. It's not regular "1. ", it's just nothing on the page. Thanks.
complete
Fred Rivett
complete
F
Federico E
I just noticed backspace is working again. Thanks so much for this!
F
Federico E
Thanks, Fred Rivett. I remember we talked about this a while back, and you taught me how to use backspace to prevent numbers from becoming a list (I kept using the Microsoft Word route: Command+z).
Every publisher I've worked with avoids automatically numbering lists, for different reasons. (Style guides commonly tell writers to disable automatic lists in Word.) My current use case involves multiple-choice questions for tests. I'm not actually writing a list when I type "3. " and start writing the third multiple-choice question on a test. Lex treats it as a list. Now that automatic lists gobble up my numbers, I have to implement a serious workaround to keep the numbering on the page.
A couple reasons why automatically numbered lists are a bad idea… First, it's unpredictable how they will end up when you copy and paste them to another document. (This also goes for my #1 pain point with Lex, which is the automatic spacing the Lex UI inflicts on documents—this produces so much weirdness downstream where I work, but I've managed to talk people through how to handle that weirdness.) Second, the indentation that an automatic list brings up is sticky and alters the editing process when writing something that is not a list (such as MC question number 45 on a test, for instance).
Having the possibility of treating these lists as regular text is important to me in many use cases with publishers. The way Lex does it is likely great for web publishing but is not helpful for other publishing routes (like generating LaTeX-laced PDF tests or straight-up textbooks).
Fred Rivett
Great points Federico, thank you for the colour on this! We actually ended up reverting our change until we can do something that works better, so you should be back to normal for now!
Fred Rivett
under review
Hey Federico, thanks for the heads up here! Just so I'm clear, you're wanting to be able to press
1.
and then it will add a list, but you want to backspace and it keep the 1.
but not be a list?We did indeed ship a tweak to how lists work yesterday. I've had a quick look and this behaviour seems what would be expected.
I'm happy to consider your use case, but just trying to understand why you'd want a numbered list but not actually be a numbered list?