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

Better RTL support

This commit is contained in:
saul.kredi@krutt.org
2017-06-03 18:52:45 +03:00
parent a9d516e8ea
commit 159a920dc8
8 changed files with 14 additions and 12 deletions

View File

@@ -723,6 +723,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}