fix(widget-markdown): ensure correct value on list reorder (#2298)

This commit is contained in:
Bartholomew 2019-05-09 18:20:51 +01:00 committed by Shawn Erquhart
parent c7390956d0
commit 60caca0950

View File

@ -72,7 +72,10 @@ export default class Editor extends React.Component {
);
if (forcePropsValue) {
this.setState({ value: createSlateValue(this.props.value) });
this.setState({
value: createSlateValue(this.props.value),
lastRawValue: this.props.value,
});
}
}