mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-29 18:09:49 +02:00
Update schema model documentation (#1048)
When talking about `rules` and old interface was being used.
This commit is contained in:
committed by
Ian Storm Taylor
parent
05ab702e40
commit
84563aef43
@@ -79,7 +79,7 @@ An object that defines the [`Block`](./block.md) and [`Inline`](./inline.md) nod
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
match: { kind: 'block', type: 'code' },
|
match: { kind: 'block', type: 'code' },
|
||||||
component: props => <pre {...props.attributes}><code>{props.children}</code></pre>,
|
render: props => <pre {...props.attributes}><code>{props.children}</code></pre>,
|
||||||
decorate: myCodeHighlighter
|
decorate: myCodeHighlighter
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user