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