1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-20 16:22:28 +03:00

Fix quote post slate update

Missed API update
This commit is contained in:
David Baker
2018-10-11 10:29:55 +01:00
parent dfb4c594a8
commit 4d1f2cdfa9

View File

@@ -428,7 +428,7 @@ export default class MessageComposerInput extends React.Component {
this.onChange(change);
} else {
let fragmentChange = fragment.change();
fragmentChange.moveToRangeOf(fragment.document)
fragmentChange.moveToRangeOfNode(fragment.document)
.wrapBlock(quote);
// FIXME: handle pills and use commonmark rather than md-serialize