You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fix MessageComposerInput.setLastTextEntry
This commit is contained in:
@@ -150,7 +150,7 @@ export default class MessageComposerInput extends React.Component {
|
|||||||
console.error(contentHTML);
|
console.error(contentHTML);
|
||||||
if (contentHTML) {
|
if (contentHTML) {
|
||||||
const content = HTMLtoContentState(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();
|
component.resizeInput();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user