Skip to content

Commit

Permalink
Update: Make button a content block. (#47936)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta authored Feb 13, 2023
1 parent 1e9c93b commit 1c087d4
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions packages/block-library/src/button/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,35 @@
"type": "string",
"source": "attribute",
"selector": "a",
"attribute": "href"
"attribute": "href",
"__experimentalRole": "content"
},
"title": {
"type": "string",
"source": "attribute",
"selector": "a",
"attribute": "title"
"attribute": "title",
"__experimentalRole": "content"
},
"text": {
"type": "string",
"source": "html",
"selector": "a"
"selector": "a",
"__experimentalRole": "content"
},
"linkTarget": {
"type": "string",
"source": "attribute",
"selector": "a",
"attribute": "target"
"attribute": "target",
"__experimentalRole": "content"
},
"rel": {
"type": "string",
"source": "attribute",
"selector": "a",
"attribute": "rel"
"attribute": "rel",
"__experimentalRole": "content"
},
"placeholder": {
"type": "string"
Expand Down

1 comment on commit 1c087d4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 1c087d4.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4166520424
📝 Reported issues:

Please sign in to comment.