Skip to content

Commit

Permalink
Update: Make button a content block.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Feb 9, 2023
1 parent 44e6ff6 commit 3978bad
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

0 comments on commit 3978bad

Please sign in to comment.