mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 11:18:26 +08:00
06ae9229e8
We don't count quote characters as part of the reply length. We don't save drafts if the reply length is less than the min_post_length site setting. If you start a reply that only contains a bunch of quotes with the intent to continue later, you get no draft. This PR fixes that. Note that we still don't save drafts if the composer is completely empty or if you're composing a new topic. This only affects replies. This PR only changes the behavior if the reply composer contains something regardless of whether that something is a quote or not and ignores the min_post_length site setting. |
||
---|---|---|
.. | ||
admin | ||
confirm-new-email | ||
discourse | ||
discourse-common | ||
discourse-hbr | ||
discourse-widget-hbs | ||
docs | ||
ember-addons | ||
locales | ||
pretty-text | ||
select-kit | ||
truth-helpers | ||
wizard | ||
.licensee.json | ||
.npmrc | ||
admin-plugins.js.erb | ||
handlebars-shim.js | ||
markdown-it-bundle.js | ||
mini-loader.js | ||
package.json | ||
polyfills.js | ||
pretty-text-bundle.js | ||
service-worker.js.erb | ||
yarn.lock |