Updates the packages to match Gutenberg version 21.9.0 RC2. Also updates the sync script to work with the new `package-lock.json` format. Some reusable block tests were adjusted to work with more render arguments. Added `core-data` to the ignore list for `verify:source-maps` because Yjs has been bundled by accident. To be removed in a follow-up. See https://core.trac.wordpress.org/ticket/64120. See https://github.com/WordPress/gutenberg/pull/72503. See: https://github.com/WordPress/wordpress-develop/pull/10355. See: https://core.trac.wordpress.org/ticket/64117. Props ellatrix, dmsnell. Fixes #64117. Built from https://develop.svn.wordpress.org/trunk@61009 git-svn-id: http://core.svn.wordpress.org/trunk@60345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
82 lines
1.4 KiB
JSON
82 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 3,
|
|
"name": "core/rss",
|
|
"title": "RSS",
|
|
"category": "widgets",
|
|
"description": "Display entries from any RSS or Atom feed.",
|
|
"keywords": [ "atom", "feed" ],
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"columns": {
|
|
"type": "number",
|
|
"default": 2
|
|
},
|
|
"blockLayout": {
|
|
"type": "string",
|
|
"default": "list"
|
|
},
|
|
"feedURL": {
|
|
"type": "string",
|
|
"default": "",
|
|
"role": "content"
|
|
},
|
|
"itemsToShow": {
|
|
"type": "number",
|
|
"default": 5
|
|
},
|
|
"displayExcerpt": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"displayAuthor": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"displayDate": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"excerptLength": {
|
|
"type": "number",
|
|
"default": 55
|
|
},
|
|
"openInNewTab": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"rel": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"supports": {
|
|
"align": true,
|
|
"html": false,
|
|
"interactivity": {
|
|
"clientNavigation": true
|
|
},
|
|
"__experimentalBorder": {
|
|
"radius": true,
|
|
"color": true,
|
|
"width": true,
|
|
"style": true
|
|
},
|
|
"spacing": {
|
|
"margin": true,
|
|
"padding": true,
|
|
"__experimentalDefaultControls": {
|
|
"padding": false,
|
|
"margin": false
|
|
}
|
|
},
|
|
"color": {
|
|
"background": true,
|
|
"text": true,
|
|
"gradients": true,
|
|
"link": true
|
|
}
|
|
},
|
|
"editorStyle": "wp-block-rss-editor",
|
|
"style": "wp-block-rss"
|
|
}
|