1
0
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:
Travis Person
2017-09-05 16:44:20 -07:00
committed by Ian Storm Taylor
parent 05ab702e40
commit 84563aef43

View File

@@ -79,7 +79,7 @@ An object that defines the [`Block`](./block.md) and [`Inline`](./inline.md) nod
[
{
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
}
]