mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 18:39:51 +02:00
fixed a few typos (#293)
This commit is contained in:
committed by
Ian Storm Taylor
parent
523b8a7e6f
commit
3c46d0544c
@@ -27,7 +27,7 @@ class App extends React.Component {
|
||||
return (
|
||||
<Editor
|
||||
state={this.state.state}
|
||||
state={this.state.state}
|
||||
schema={this.state.schema}
|
||||
onChange={state => this.setState({ state })}
|
||||
onKeyDown={e, data, state => this.onKeyDown(e, data, state)}
|
||||
/>
|
||||
@@ -112,7 +112,7 @@ function BoldMark(props) {
|
||||
|
||||
Pretty simple, right?
|
||||
|
||||
And now, let's tell Slate about that mark. To do that, we'll add it to the `schema` object under a `marks` property, like so so:
|
||||
And now, let's tell Slate about that mark. To do that, we'll add it to the `schema` object under a `marks` property, like so:
|
||||
|
||||
```js
|
||||
function BoldMark(props) {
|
||||
|
Reference in New Issue
Block a user