fix(widget-markdown): ensure correct value on list reorder (#2298)
This commit is contained in:
parent
c7390956d0
commit
60caca0950
@ -72,7 +72,10 @@ export default class Editor extends React.Component {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (forcePropsValue) {
|
if (forcePropsValue) {
|
||||||
this.setState({ value: createSlateValue(this.props.value) });
|
this.setState({
|
||||||
|
value: createSlateValue(this.props.value),
|
||||||
|
lastRawValue: this.props.value,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user