mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-22 19:01:26 +00:00
Make a separate post markdown field character limit. (#2331)
Context: https://github.com/LemmyNet/lemmy/issues/3262
This commit is contained in:
parent
7e0652df45
commit
5ba9da1545
2 changed files with 4 additions and 1 deletions
|
@ -23,6 +23,7 @@ import {
|
|||
import {
|
||||
archiveTodayUrl,
|
||||
ghostArchiveUrl,
|
||||
postMarkdownFieldCharacterLimit,
|
||||
relTags,
|
||||
trendingFetchLimit,
|
||||
webArchiveUrl,
|
||||
|
@ -477,6 +478,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
|
|||
allLanguages={this.props.allLanguages}
|
||||
siteLanguages={this.props.siteLanguages}
|
||||
hideNavigationWarnings
|
||||
maxLength={postMarkdownFieldCharacterLimit}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -19,7 +19,8 @@ export const postRefetchSeconds: number = 60 * 1000;
|
|||
export const trendingFetchLimit = 6;
|
||||
export const mentionDropdownFetchLimit = 10;
|
||||
export const commentTreeMaxDepth = 8;
|
||||
export const markdownFieldCharacterLimit = 50000;
|
||||
export const postMarkdownFieldCharacterLimit = 50000;
|
||||
export const markdownFieldCharacterLimit = 10000;
|
||||
export const maxUploadImages = 20;
|
||||
export const concurrentImageUpload = 4;
|
||||
export const updateUnreadCountsInterval = 30000;
|
||||
|
|
Loading…
Reference in a new issue