X-Git-Url: http://these/git/?a=blobdiff_plain;f=src%2Fshared%2Fcomponents%2Fcommon%2Fmarkdown-textarea.tsx;h=c1e85243352172ce0c0d9e9f11e5129a5d8555b5;hb=6c6ddd5b5112afcab1641d49b2462083142bf265;hp=4e1bca11f82c9f0b434705350f34665eb83ca541;hpb=9c37cea106571a492e0b951fa66a182395053b67;p=lemmy-ui.git diff --git a/src/shared/components/common/markdown-textarea.tsx b/src/shared/components/common/markdown-textarea.tsx index 4e1bca1..c1e8524 100644 --- a/src/shared/components/common/markdown-textarea.tsx +++ b/src/shared/components/common/markdown-textarea.tsx @@ -183,6 +183,53 @@ export class MarkdownTextArea extends Component<
+ {this.props.buttonTitle && ( + + )} + {this.props.replyType && ( + + )} + {this.state.content && ( + + )} + {/* A flex expander */} +
+ + {this.props.showLanguage && ( + + )} {this.getFormatButton("bold", this.handleInsertBold)} {this.getFormatButton("italic", this.handleInsertItalic)} {this.getFormatButton("link", this.handleInsertLink)} @@ -235,57 +282,6 @@ export class MarkdownTextArea extends Component<
- -
- {this.props.showLanguage && ( - - )} - - {/* A flex expander */} -
- - {this.props.buttonTitle && ( - - )} - {this.props.replyType && ( - - )} - {this.state.content && ( - - )} -
);