1
0
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:
Kirk Swenson
2020-04-10 09:05:03 -07:00
committed by GitHub
parent c9891a29e1
commit f6bfe034d7
16 changed files with 49 additions and 48 deletions

View File

@@ -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!

View File

@@ -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: