Skip to content

Commit

Permalink
RFC: Add default context properties
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth authored and gziolo committed Jun 15, 2020
1 parent 2ef3392 commit c0855b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/rfc/block-registration.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ Block type frontend style definition. It will be enqueued both in the editor and
* Optional
* Localized: No
* Property: `providesContext`
* Default: `{}`

Context provided for available access by descendants of blocks of this type, in the form of an object which maps a context name to one of the block's own attribute.

Expand All @@ -377,6 +378,7 @@ See [the block context documentation](/docs/designers-developers/developers/bloc
* Optional
* Localized: No
* Property: `context`
* Default: `[]`

Array of the names of context values to inherit from an ancestor provider.

Expand Down

0 comments on commit c0855b6

Please sign in to comment.