Commit realizado el 12:13:52 08-04-2024
This commit is contained in:
90
wp-content/plugins/web-stories/blocks/embed/block.json
Normal file
90
wp-content/plugins/web-stories/blocks/embed/block.json
Normal file
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"name": "web-stories/embed",
|
||||
"title": "Web Stories",
|
||||
"description": "Embed Web Stories.",
|
||||
"category": "embed",
|
||||
"keywords": ["embed", "web stories", "story", "stories"],
|
||||
"textdomain": "web-stories",
|
||||
"usesContext": ["postId", "postType", "queryId"],
|
||||
"attributes": {
|
||||
"blockType": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"poster": {
|
||||
"type": "string"
|
||||
},
|
||||
"width": {
|
||||
"type": "number",
|
||||
"default": 360
|
||||
},
|
||||
"height": {
|
||||
"type": "number",
|
||||
"default": 600
|
||||
},
|
||||
"align": {
|
||||
"type": "string",
|
||||
"default": "none"
|
||||
},
|
||||
"stories": {
|
||||
"type": "array",
|
||||
"default": []
|
||||
},
|
||||
"viewType": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"numOfStories": {
|
||||
"type": "number",
|
||||
"default": 5
|
||||
},
|
||||
"numOfColumns": {
|
||||
"type": "number",
|
||||
"default": 2
|
||||
},
|
||||
"circleSize": {
|
||||
"type": "number",
|
||||
"default": 96
|
||||
},
|
||||
"imageAlignment": {
|
||||
"type": "string",
|
||||
"default": "left"
|
||||
},
|
||||
"order": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"orderby": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"archiveLinkLabel": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"authors": {
|
||||
"type": "array",
|
||||
"default": []
|
||||
},
|
||||
"fieldState": {
|
||||
"type": "object",
|
||||
"default": {}
|
||||
},
|
||||
"taxQuery": {
|
||||
"type": "object",
|
||||
"default": {}
|
||||
},
|
||||
"previewOnly": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"align": ["wide", "full", "left", "right", "center"]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user