|
|
@ -225,11 +225,12 @@ export class MarkdownTextArea extends Component< |
|
|
|
{i18n.t('cancel')} |
|
|
|
</Button> |
|
|
|
)} |
|
|
|
{this.state.content != this.props.initialContent && ( |
|
|
|
<Button variant="borderless" onClick={this.handleReset}> |
|
|
|
{i18n.t('reset')} |
|
|
|
</Button> |
|
|
|
)} |
|
|
|
{this.props.initialContent && |
|
|
|
this.state.content !== this.props.initialContent && ( |
|
|
|
<Button variant="borderless" onClick={this.handleReset}> |
|
|
|
{i18n.t('reset')} |
|
|
|
</Button> |
|
|
|
)} |
|
|
|
{this.state.content && ( |
|
|
|
<Button |
|
|
|
variant="borderless" |
|
|
|