more RTE fixes

This commit is contained in:
Aviral Dasgupta 2016-06-14 19:28:51 +05:30
parent 8cb086ef31
commit ba69e4365d
2 changed files with 3 additions and 2 deletions

View file

@ -199,7 +199,7 @@ export default class MessageComposerInput extends React.Component {
if (contentJSON) {
let content = convertFromRaw(JSON.parse(contentJSON));
component.setState({
editorState: component.createEditorState(this.state.isRichtextEnabled, content)
editorState: component.createEditorState(component.state.isRichtextEnabled, content)
});
}
}