mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-27 00:54:22 +02:00
Text nodes aware if the parent reference has changed to reupdate (#1166)
This commit is contained in:
committed by
Ian Storm Taylor
parent
4f730d9c64
commit
8a68d8a749
@@ -67,7 +67,8 @@ class Leaf extends React.Component {
|
|||||||
props.index != this.props.index ||
|
props.index != this.props.index ||
|
||||||
props.marks != this.props.marks ||
|
props.marks != this.props.marks ||
|
||||||
props.schema != this.props.schema ||
|
props.schema != this.props.schema ||
|
||||||
props.text != this.props.text
|
props.text != this.props.text ||
|
||||||
|
props.parent != this.props.parent
|
||||||
) {
|
) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user