diff --git a/packages/slate-react/src/components/editor.js b/packages/slate-react/src/components/editor.js index 8823b203b94..49fc1f5b7e5 100644 --- a/packages/slate-react/src/components/editor.js +++ b/packages/slate-react/src/components/editor.js @@ -186,14 +186,12 @@ class Editor extends React.Component { } get value() { - if ( - this.tmp.value === this.props.value && - this.tmp.stack === this.props.stack - ) { + if (this.tmp.value === this.props.value && this.tmp.stack === this.stack) { const { value } = this.tmp this.queueChange(value.change()) return value } + return this.associateStackAndValue(this.props.value, this.stack) }