mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-02 19:52:32 +02:00
Fix typos and other minor issues in docs (#3597)
Fixed typos and grammatical errors in the documentation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Installing Slate
|
||||
|
||||
Slate is a monorepo divided up into multi npm packages, so to install it you do:
|
||||
Slate is a monorepo divided up into multiple npm packages, so to install it you do:
|
||||
|
||||
```
|
||||
yarn add slate slate-react
|
||||
@@ -123,4 +123,4 @@ const App = () => {
|
||||
|
||||
There you have it!
|
||||
|
||||
That's the most basic example of Slate. If you render that onto the page, you should see a paragraph with the text `A line of text in a paragraph.`. And when you type, you should see the text change!
|
||||
That's the most basic example of Slate. If you render that onto the page, you should see a paragraph with the text `A line of text in a paragraph.` And when you type, you should see the text change!
|
||||
|
@@ -30,7 +30,7 @@ Before you can add `slate.js` to your page, you need to bring your own copy of `
|
||||
<script src="./vendor/react-dom-server.js"></script>
|
||||
```
|
||||
|
||||
This ensures that Slate isn't bundling its own copy of Immutable and React, which would greatly increase the file size of your application.
|
||||
This ensures that Slate isn't bundling its own copy of React, which would greatly increase the file size of your application.
|
||||
|
||||
Then you can add `slate.js` after those includes:
|
||||
|
||||
|
Reference in New Issue
Block a user