Skip to content

Commit

Permalink
Link to the "How to JavaScript" tutorial for further detail
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber committed Feb 7, 2019
1 parent 969ca24 commit d887d23
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ To better understand the specific code example above:
* `wp.data.dispatch('core/notices')` accesses functionality registered to the Block Editor data store by the Notices package.
* `createNotice()` is a function offered by the Notices package to register a new notice. The Block Editor reads from the notice data store in order to know which notices to display.

Check out the [_Loading JavaScript_](/docs/designers-developers/developers/tutorials/javascript/loading-javascript.md) tutorial for a primer on how to load your custom JavaScript into the Block Editor.

## Learn More

The Block Editor offers a complete API for generating notices. The official documentation is a great place to review what's possible.
Expand Down

0 comments on commit d887d23

Please sign in to comment.