Skip to content

Commit

Permalink
Provide block context to the payments button. (#47245)
Browse files Browse the repository at this point in the history
  • Loading branch information
apeatling authored Nov 9, 2020
1 parent 4e3200f commit dd9e291
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ const settings = {
alignWide: false,
lightBlockWrapper: true,
},
attributes: {
isPremiumContentChild: {
type: 'bool',
default: true,
},
},
providesContext: {
isPremiumContentChild: 'isPremiumContentChild',
},
keywords: [ __( 'link', 'full-site-editing' ) ],
edit,
save,
Expand Down

0 comments on commit dd9e291

Please sign in to comment.