diff --git a/src/shared/components/common/markdown-textarea.tsx b/src/shared/components/common/markdown-textarea.tsx index b92170d8..38a2c2ed 100644 --- a/src/shared/components/common/markdown-textarea.tsx +++ b/src/shared/components/common/markdown-textarea.tsx @@ -211,7 +211,7 @@ export class MarkdownTextArea extends Component< }`} onClick={linkEvent(this, this.handlePreviewToggle)} > - {i18n.t("preview")} + {this.state.previewMode ? i18n.t("edit") : i18n.t("preview")} )} {/* A flex expander */}