mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-24 01:02:31 +01: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:
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}
|
||||
/>
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user