mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Fix MessageComposerInput.setLastTextEntry
This commit is contained in:
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
Block a user