Skip to content

Commit

Permalink
Mark which attributes of the embed should be considered content (#44039)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta authored Sep 13, 2022
1 parent 2ef8762 commit e66cfe6
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions packages/block-library/src/embed/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,36 @@
"textdomain": "default",
"attributes": {
"url": {
"type": "string"
"type": "string",
"__experimentalRole": "content"
},
"caption": {
"type": "string",
"source": "html",
"selector": "figcaption"
"selector": "figcaption",
"__experimentalRole": "content"
},
"type": {
"type": "string"
"type": "string",
"__experimentalRole": "content"
},
"providerNameSlug": {
"type": "string"
"type": "string",
"__experimentalRole": "content"
},
"allowResponsive": {
"type": "boolean",
"default": true
},
"responsive": {
"type": "boolean",
"default": false
"default": false,
"__experimentalRole": "content"
},
"previewable": {
"type": "boolean",
"default": true
"default": true,
"__experimentalRole": "content"
}
},
"supports": {
Expand Down

0 comments on commit e66cfe6

Please sign in to comment.