mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 10:29:48 +02:00
Fix a few issues with the documentation (#3679)
* Fix a few issues with the documentation * Add Kitemaker to the list of sites using Slate
This commit is contained in:
@@ -86,4 +86,4 @@ const App = () => {
|
||||
|
||||
With that added, try typing `&`, and you should see it suddenly become `and` instead!
|
||||
|
||||
This offers a sense of what can be done with Slate's event handlers. Each one will be called with the `event` object, and the `editor` that lets you perform commands. Simple!
|
||||
This offers a sense of what can be done with Slate's event handlers. Each one will be called with the `event` object, and you can use your `editor` to perform commands in response. Simple!
|
||||
|
@@ -134,7 +134,7 @@ const Leaf = props => {
|
||||
|
||||
Pretty familiar, right?
|
||||
|
||||
And now, let's tell Slate about that leaf. To do that, we'll pass in the `renderLeaf` prop to our editor. Also, let's allow our formatting to be toggled by adding active-checking logic.
|
||||
And now, let's tell Slate about that leaf. To do that, we'll pass in the `renderLeaf` prop to our editor.
|
||||
|
||||
```jsx
|
||||
const App = () => {
|
||||
|
Reference in New Issue
Block a user