mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 23:13:48 +08:00
30fdd7738e
This commit introduces behaviour similar to sites like GitHub, Notion, and others where, if you are already typing a list and press enter in the composer, we continue the list on the next line. Then, if you press enter again on the next line with an empty list item, we remove that item on that last line. This works with the following list types: * star bullet - dash bullet * [] star and dash bullet with checkbox 1. numbered This also works if you are in the middle of a list, and with indented sub-lists. With the numbered lists, we continue with the next number in the sequence, and if you start a new line in the middle of the list, we renumber the rest of the list. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |