1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Merge pull request #1021 from Bitim/feature/rtl-languages-support

Better RTL support
This commit is contained in:
Matthew Hodgson
2017-06-08 14:43:18 +01:00
committed by GitHub
8 changed files with 14 additions and 12 deletions

View File

@@ -721,6 +721,7 @@ export default class MessageComposerInput extends React.Component {
title={ this.state.isRichtextEnabled ? _t("Markdown is disabled") : _t("Markdown is enabled")}
src={`img/button-md-${!this.state.isRichtextEnabled}.png`} />
<Editor ref="editor"
dir="auto"
placeholder={this.props.placeholder}
editorState={this.state.editorState}
onChange={this.onEditorContentChanged}