diff --git a/src/components/void.js b/src/components/void.js index ff2f7a6c8..2c6fe9d2e 100644 --- a/src/components/void.js +++ b/src/components/void.js @@ -152,7 +152,7 @@ class Void extends React.Component { */ renderLeaf = () => { - const { node, schema, state, editor } = this.props + const { block, node, schema, state, editor } = this.props const child = node.getFirstText() const ranges = child.getRanges() const text = '' @@ -167,6 +167,7 @@ class Void extends React.Component { return (