From 3da4df6b8f146abe5c20893c0985199adeda112e Mon Sep 17 00:00:00 2001 From: Baltazar Gomez Date: Wed, 5 Aug 2020 20:14:50 -0500 Subject: [PATCH] increase max chars limit of post editor --- ui/component/postEditor/view.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/component/postEditor/view.jsx b/ui/component/postEditor/view.jsx index f3e6cc8c5..e08ce6118 100644 --- a/ui/component/postEditor/view.jsx +++ b/ui/component/postEditor/view.jsx @@ -1,6 +1,6 @@ // @flow import React, { useEffect } from 'react'; -import { FF_MAX_CHARS_IN_DESCRIPTION } from 'constants/form-field'; +import { FF_MAX_CHARS_IN_POST } from 'constants/form-field'; import { FormField } from 'component/common/form'; type Props = { @@ -108,7 +108,7 @@ function PostEditor(props: Props) { value={ready ? fileText : __('Loading...')} disabled={!ready || disabled} onChange={value => updatePublishForm({ fileText: value })} - textAreaMaxLength={FF_MAX_CHARS_IN_DESCRIPTION} + textAreaMaxLength={FF_MAX_CHARS_IN_POST} /> ); }