1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-22 15:02:51 +02:00

Update saving-and-loading-html-content.md (#2452)

fix example code
This commit is contained in:
Denys Vuika
2018-12-02 21:15:16 +00:00
committed by Ian Storm Taylor
parent ec6c0e5140
commit 59d184b153

View File

@@ -274,7 +274,7 @@ class App extends React.Component {
)
case 'paragraph':
return (
<p {...props.attributes} className={node.data.get('className')}>
<p {...props.attributes} className={props.node.data.get('className')}>
{props.children}
</p>
)