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 committed May 28, 2020
1 parent 021f86b commit d255bb0
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 @@ -337,6 +337,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 @@ -352,6 +353,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 d255bb0

Please sign in to comment.