mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-11 09:43:58 +02:00
Fix: prop name (#2780)
Nodes weren't properly rendering because the Editor was trying to call the function prop renderBlock but instead another called renderNode was passed.
This commit is contained in:
committed by
Ian Storm Taylor
parent
7adf56ffd1
commit
fbe70a1f28
@@ -258,7 +258,7 @@ class App extends React.Component {
|
||||
value={this.state.value}
|
||||
onChange={this.onChange}
|
||||
// Add the ability to render our nodes and marks...
|
||||
renderNode={this.renderNode}
|
||||
renderBlock={this.renderNode}
|
||||
renderMark={this.renderMark}
|
||||
/>
|
||||
)
|
||||
|
Reference in New Issue
Block a user