mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-22 15:02:51 +02:00
committed by
Ian Storm Taylor
parent
ec6c0e5140
commit
59d184b153
@@ -274,7 +274,7 @@ class App extends React.Component {
|
|||||||
)
|
)
|
||||||
case 'paragraph':
|
case 'paragraph':
|
||||||
return (
|
return (
|
||||||
<p {...props.attributes} className={node.data.get('className')}>
|
<p {...props.attributes} className={props.node.data.get('className')}>
|
||||||
{props.children}
|
{props.children}
|
||||||
</p>
|
</p>
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user