diff --git a/docs/general/contributing.md b/docs/general/contributing.md index cb88e34a6..6be92bdd6 100644 --- a/docs/general/contributing.md +++ b/docs/general/contributing.md @@ -46,7 +46,7 @@ Please include tests and docs with every pull request! ## Repository Setup -The slate repository is a monorepo that is managed with [lerna](https://github.com/lerna/lerna). Unlike more traditional repositories, this means that the repository must be built in order for tests, linting, or other common development activities to function as expected. +The Slate repository is a monorepo that is managed with [lerna](https://github.com/lerna/lerna). Unlike more traditional repositories, this means that the repository must be built in order for tests, linting, or other common development activities to function as expected. To run the build, you need to have the Slate repository cloned to your computer. After that, you need to `cd` into the directory where you cloned it, and install the dependencies with `yarn` and build the monorepo: diff --git a/docs/walkthroughs/06-saving-to-a-database.md b/docs/walkthroughs/06-saving-to-a-database.md index 1bd963227..98ee1143a 100644 --- a/docs/walkthroughs/06-saving-to-a-database.md +++ b/docs/walkthroughs/06-saving-to-a-database.md @@ -168,7 +168,7 @@ You can emulate this strategy for any format you like. You can serialize to HTML > 🤖 Note that even though you _can_ serialize your content however you like, there are tradeoffs. The serialization process has a cost itself, and certain formats may be harder to work with than others. In general we recommend writing your own format only if your use case has a specific need for it. Otherwise, you're often better leaving the data in the format Slate uses. -If you want to update the editor's content in response to events from outside of slate, you need to change the children property directly. The simplest way is to replace the value of editor.children `editor.children = newValue` and trigger a re-rendering (e.g. by calling `editor.onChange()` in the example above). Alternatively, you can use slate's internal operations to transform the value, for example: +If you want to update the editor's content in response to events from outside of Slate, you need to change the children property directly. The simplest way is to replace the value of editor.children `editor.children = newValue` and trigger a re-rendering (e.g. by calling `editor.onChange()` in the example above). Alternatively, you can use Slate's internal operations to transform the value, for example: ```javascript /** diff --git a/docs/walkthroughs/xx-using-the-bundled-source.md b/docs/walkthroughs/xx-using-the-bundled-source.md index bd2104deb..d28ded11b 100644 --- a/docs/walkthroughs/xx-using-the-bundled-source.md +++ b/docs/walkthroughs/xx-using-the-bundled-source.md @@ -4,7 +4,7 @@ For most folks, you'll want to install Slate via `npm`, in which case you can fo But, if you'd rather install Slate by simply adding a `