mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 01:23:38 +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. |
||
---|---|---|
.. | ||
admin | ||
custom-proxy | ||
deprecation-silencer | ||
dialog-holder | ||
discourse | ||
discourse-common | ||
discourse-hbr | ||
discourse-i18n | ||
discourse-markdown-it | ||
discourse-plugins | ||
discourse-widget-hbs | ||
docs | ||
ember-addons | ||
ember-cli-progress-ci | ||
ember-production-deprecations | ||
float-kit | ||
locales | ||
pretty-text | ||
select-kit | ||
theme-transpiler | ||
truth-helpers | ||
.npmrc | ||
handlebars-shim.js | ||
polyfills.js | ||
run-patch-package | ||
service-worker.js.erb |