fix advanced text area (#7360)

This commit is contained in:
jessopb 2021-12-16 15:03:53 -05:00 committed by GitHub
parent ae682a4a33
commit 1929089fab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -513,7 +513,7 @@ export function CommentCreate(props: Props) {
)}
<FormField
disabled={isFetchingChannels}
type={'textarea'}
type={advancedEditor ? 'markdown' : 'textarea'}
name={isReply ? 'content_reply' : 'content_description'}
ref={formFieldRef}
className={isReply ? 'content_reply' : 'content_comment'}