diff --git a/packages/netlify-cms-widget-markdown/src/MarkdownControl/VisualEditor.js b/packages/netlify-cms-widget-markdown/src/MarkdownControl/VisualEditor.js index 8f5de3e4..c38933a3 100644 --- a/packages/netlify-cms-widget-markdown/src/MarkdownControl/VisualEditor.js +++ b/packages/netlify-cms-widget-markdown/src/MarkdownControl/VisualEditor.js @@ -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, + }); } }