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
commit c173861b27
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}