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:
Andrei Prigorshnev 2021-05-19 14:26:15 +04:00 committed by GitHub
parent 6d3c975519
commit 9e4288a4ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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