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:
@@ -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>
|
||||
)
|
||||
|
Reference in New Issue
Block a user