Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update widget docs #876

Merged
merged 10 commits into from
Dec 7, 2017
Prev Previous commit
Next Next commit
Rename extending.md to custom-widgets.md
  • Loading branch information
verythorough committed Dec 6, 2017
commit 641684b9930648d9718671d78f6fd60b64eb0817
4 changes: 2 additions & 2 deletions website/site/content/docs/extending.md → website/site/content/docs/custom-widgets.md
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: Extending Widgets
title: Custom Widgets
position: 60
---

# Extending With Widgets
# Custom Widgets

The NetlifyCMS exposes an `window.CMS` global object that you can use to register custom widgets, previews, and editor plugins. The available widget extension methods are:

Expand Down
2 changes: 1 addition & 1 deletion website/site/content/docs/widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ position: 30

# Widgets

Widgets define the data type and interface for entry fields. Netlify CMS comes with several built-in widgets. Click the widget names in the sidebar to jump to specific widget details. We’re always adding new widgets, and you can also [create your own](/docs/extending)!
Widgets define the data type and interface for entry fields. Netlify CMS comes with several built-in widgets. Click the widget names in the sidebar to jump to specific widget details. We’re always adding new widgets, and you can also [create your own](https://www.netlifycms.org/docs/custom-widgets)!

To see working examples of all of the built-in widgets, try making a 'Kitchen Sink' collection item on the [CMS demo site](https://cms-demo.netlify.com). (No login required: click the login button and the CMS will open.) You can refer to the demo [configuration code](https://github.com/netlify/netlify-cms/blob/master/example/config.yml#L60) to see how each field was configured.

Expand Down