Fix Reply's markdown-editor appearing in Create due to 'name' clash from a prior merger.
This commit is contained in:
parent
5b11cd7c65
commit
7064793319
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ export function CommentCreate(props: Props) {
|
||||||
<FormField
|
<FormField
|
||||||
disabled={channel === CHANNEL_NEW}
|
disabled={channel === CHANNEL_NEW}
|
||||||
type={advancedEditor ? 'markdown' : 'textarea'}
|
type={advancedEditor ? 'markdown' : 'textarea'}
|
||||||
name="content_description"
|
name={isReply ? 'content_reply' : 'content_description'}
|
||||||
label={isReply ? __('Replying as %reply_channel%', { reply_channel: channel }) : __('Comment')}
|
label={isReply ? __('Replying as %reply_channel%', { reply_channel: channel }) : __('Comment')}
|
||||||
quickActionLabel={advancedEditor ? __('Simple Editor') : __('Advanced Editor')}
|
quickActionLabel={advancedEditor ? __('Simple Editor') : __('Advanced Editor')}
|
||||||
quickActionHandler={toggleEditorMode}
|
quickActionHandler={toggleEditorMode}
|
||||||
|
|
Loading…
Reference in a new issue