From 984341335791a52d8f37d48a4756ac6460372e18 Mon Sep 17 00:00:00 2001 From: Ben Berman Date: Sun, 11 Dec 2016 21:12:45 -0500 Subject: [PATCH] Fixed 3 typos in README I honestly question whether these are typos considering the same mistake was made 3 times. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8cb01fc3..a3fa5925 100644 --- a/README.md +++ b/README.md @@ -144,13 +144,13 @@ Currently these widgets are built-in: The Netlify CMS exposes an `window.CMS` global object that you can use to register custom widgets, previews and editor plugins. The available methods are: * **registerPreviewStyle** Register a custom stylesheet to use on the preview pane. -* **regsiterPreviewTemplate** Registers a template for a collection. +* **registerPreviewTemplate** Registers a template for a collection. * **registerWidget** lets you register a custom widget. * **registerEditorComponent** lets you add a block component to the Markdown editor **Writing React Components inline** -Both regsiterPreviewTemplate and registerWidget requires you to provide a React component. If you have a build process in place for your project, it is possible to integrate webpack and Babel for a complete React build flow. +Both registerPreviewTemplate and registerWidget requires you to provide a React component. If you have a build process in place for your project, it is possible to integrate webpack and Babel for a complete React build flow. Although possible, it may be cumbersome or even impractical to add a React build phase. For this reason, Netlify CMS exposes two React constructs globally to allow you to create components inline: ‘createClass’ and ‘h’ (alias for React.createElement). @@ -170,7 +170,7 @@ Register a custom stylesheet to use on the preview pane. `CMS.registerPreviewStyle("/example.css");` -### `regsiterPreviewTemplate` +### `registerPreviewTemplate` Registers a template for a collection.