1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-30 10:29:48 +02:00

fix minor doc typos (#1233)

This commit is contained in:
Yifeng Wang
2017-10-15 16:22:00 -05:00
committed by Ian Storm Taylor
parent a825b95845
commit 58648bc23f
8 changed files with 15 additions and 15 deletions

View File

@@ -46,7 +46,7 @@ class App extends React.Component {
Now let's add "code blocks" to our editor.
The problem is, code blocks won't just be rendered as a plain paragraph, they'll need to be rendered differently. To make that happen, we need to define a "renderer" for `code` nodes
The problem is, code blocks won't just be rendered as a plain paragraph, they'll need to be rendered differently. To make that happen, we need to define a "renderer" for `code` nodes.
Node renderers are just simple React components, like so: