mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:50:00 +08:00
FEATURE: constrain post_excerpt_maxlength (#13064)
Too long excerpts don't make sense. They would make UI wonky. We already have a constraint for the `topic_excerpt_maxlength` setting. This adds the same constraint to `post_excerpt_maxlength`. It also changes the max value of `topic_excerpt_maxlength` from 999 to 1000.
This commit is contained in:
parent
6d3c975519
commit
9e4288a4ab
|
@ -863,13 +863,14 @@ posting:
|
|||
default: 0
|
||||
post_excerpt_maxlength:
|
||||
default: 300
|
||||
max: 1000
|
||||
locale_default:
|
||||
ja: 120
|
||||
zh_CN: 120
|
||||
zh_TW: 120
|
||||
topic_excerpt_maxlength:
|
||||
default: 220
|
||||
max: 999
|
||||
max: 1000
|
||||
locale_default:
|
||||
ja: 120
|
||||
zh_CN: 120
|
||||
|
|
Loading…
Reference in New Issue
Block a user