1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-21 14:41:23 +02:00

fix plugins example

This commit is contained in:
Ian Storm Taylor
2017-10-28 15:09:07 -07:00
parent 97002a4835
commit c547a24afb

View File

@@ -22,7 +22,7 @@ function WordCount(options) {
{props.children}
</div>
<span className="word-counter">
Word Count: {props.state.document.text.split(' ').length}
Word Count: {props.value.document.text.split(' ').length}
</span>
</div>
)