mirror of https://github.com/vector-im/riot-web
Fix MessageComposerInput.setLastTextEntry
parent
29cdd1fc41
commit
4e0720db12
|
@ -150,7 +150,7 @@ export default class MessageComposerInput extends React.Component {
|
|||
console.error(contentHTML);
|
||||
if (contentHTML) {
|
||||
const content = HTMLtoContentState(contentHTML);
|
||||
component.setState({editorState: EditorState.createWithContent(content, getScopedDecorator(this.props))});
|
||||
component.setState({editorState: EditorState.createWithContent(content, getScopedDecorator(component.props))});
|
||||
component.resizeInput();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue