1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-26 16:44:22 +02:00

Text nodes aware if the parent reference has changed to reupdate (#1166)

This commit is contained in:
Ryan Yurkanin
2017-09-22 10:55:13 -04:00
committed by Ian Storm Taylor
parent 4f730d9c64
commit 8a68d8a749

View File

@@ -67,7 +67,8 @@ class Leaf extends React.Component {
props.index != this.props.index ||
props.marks != this.props.marks ||
props.schema != this.props.schema ||
props.text != this.props.text
props.text != this.props.text ||
props.parent != this.props.parent
) {
return true
}