Skip to content

Commit

Permalink
Update: Add __experimentalRole attributes to media text block. (#43957)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta authored Sep 8, 2022
1 parent c154f6a commit 5186812
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions packages/block-library/src/media-text/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,23 @@
"source": "attribute",
"selector": "figure img",
"attribute": "alt",
"default": ""
"default": "",
"__experimentalRole": "content"
},
"mediaPosition": {
"type": "string",
"default": "left"
},
"mediaId": {
"type": "number"
"type": "number",
"__experimentalRole": "content"
},
"mediaUrl": {
"type": "string",
"source": "attribute",
"selector": "figure video,figure img",
"attribute": "src"
"attribute": "src",
"__experimentalRole": "content"
},
"mediaLink": {
"type": "string"
Expand All @@ -48,7 +51,8 @@
"type": "string",
"source": "attribute",
"selector": "figure a",
"attribute": "href"
"attribute": "href",
"__experimentalRole": "content"
},
"rel": {
"type": "string",
Expand All @@ -63,7 +67,8 @@
"attribute": "class"
},
"mediaType": {
"type": "string"
"type": "string",
"__experimentalRole": "content"
},
"mediaWidth": {
"type": "number",
Expand Down

0 comments on commit 5186812

Please sign in to comment.