diff --git a/packages/block-library/CHANGELOG.md b/packages/block-library/CHANGELOG.md index 887f5eb6b8005e..2c342ffd8c375b 100644 --- a/packages/block-library/CHANGELOG.md +++ b/packages/block-library/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- Code quality: Add block schema to each core block. + ## 6.0.0 (2021-09-09) ### Breaking Change diff --git a/packages/block-library/src/archives/block.json b/packages/block-library/src/archives/block.json index 799d050354c5f2..50a38028a86531 100644 --- a/packages/block-library/src/archives/block.json +++ b/packages/block-library/src/archives/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/archives", "title": "Archives", diff --git a/packages/block-library/src/audio/block.json b/packages/block-library/src/audio/block.json index 969a9e7e7c29b4..7cf3b0eee186db 100644 --- a/packages/block-library/src/audio/block.json +++ b/packages/block-library/src/audio/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/audio", "title": "Audio", diff --git a/packages/block-library/src/block/block.json b/packages/block-library/src/block/block.json index 006c85c0b5db67..47f3ba462d50c1 100644 --- a/packages/block-library/src/block/block.json +++ b/packages/block-library/src/block/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/block", "title": "Reusable block", diff --git a/packages/block-library/src/button/block.json b/packages/block-library/src/button/block.json index 569ecc47fd0e72..cca2fa3ecbfeb3 100644 --- a/packages/block-library/src/button/block.json +++ b/packages/block-library/src/button/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/button", "title": "Button", diff --git a/packages/block-library/src/buttons/block.json b/packages/block-library/src/buttons/block.json index 7730867393709d..04a5bbcd7e5274 100644 --- a/packages/block-library/src/buttons/block.json +++ b/packages/block-library/src/buttons/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/buttons", "title": "Buttons", @@ -21,7 +22,7 @@ "__experimentalExposeControlsToChildren": true, "spacing": { "blockGap": true, - "margin": ["top", "bottom" ], + "margin": [ "top", "bottom" ], "__experimentalDefaultControls": { "blockGap": true } diff --git a/packages/block-library/src/calendar/block.json b/packages/block-library/src/calendar/block.json index 07938927f5ebab..28c5754bd8a3cb 100644 --- a/packages/block-library/src/calendar/block.json +++ b/packages/block-library/src/calendar/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/calendar", "title": "Calendar", diff --git a/packages/block-library/src/categories/block.json b/packages/block-library/src/categories/block.json index 448b27c9ccd6df..8256e54d004608 100644 --- a/packages/block-library/src/categories/block.json +++ b/packages/block-library/src/categories/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/categories", "title": "Categories", diff --git a/packages/block-library/src/code/block.json b/packages/block-library/src/code/block.json index 728aff7ac7973e..ee3c8881a8baad 100644 --- a/packages/block-library/src/code/block.json +++ b/packages/block-library/src/code/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/code", "title": "Code", diff --git a/packages/block-library/src/column/block.json b/packages/block-library/src/column/block.json index 1a1513ad2e66c3..f24f61d25fe208 100644 --- a/packages/block-library/src/column/block.json +++ b/packages/block-library/src/column/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/column", "title": "Column", diff --git a/packages/block-library/src/columns/block.json b/packages/block-library/src/columns/block.json index 9b9b7e7021686b..984a20d970fed9 100644 --- a/packages/block-library/src/columns/block.json +++ b/packages/block-library/src/columns/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/columns", "title": "Columns", diff --git a/packages/block-library/src/cover/block.json b/packages/block-library/src/cover/block.json index ecb8227079c158..15be2764d9bff9 100644 --- a/packages/block-library/src/cover/block.json +++ b/packages/block-library/src/cover/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/cover", "title": "Cover", diff --git a/packages/block-library/src/embed/block.json b/packages/block-library/src/embed/block.json index ae464219636fd8..d6a5ee987336eb 100644 --- a/packages/block-library/src/embed/block.json +++ b/packages/block-library/src/embed/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/embed", "title": "Embed", diff --git a/packages/block-library/src/file/block.json b/packages/block-library/src/file/block.json index 2d01180d828156..f9055b3745cb43 100644 --- a/packages/block-library/src/file/block.json +++ b/packages/block-library/src/file/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/file", "title": "File", diff --git a/packages/block-library/src/freeform/block.json b/packages/block-library/src/freeform/block.json index f3b2d45b00c489..baba550221cfad 100644 --- a/packages/block-library/src/freeform/block.json +++ b/packages/block-library/src/freeform/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/freeform", "title": "Classic", diff --git a/packages/block-library/src/gallery/block.json b/packages/block-library/src/gallery/block.json index 2f70b440f3a4d5..4cc4b95333fd1e 100644 --- a/packages/block-library/src/gallery/block.json +++ b/packages/block-library/src/gallery/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/gallery", "title": "Gallery", diff --git a/packages/block-library/src/group/block.json b/packages/block-library/src/group/block.json index 5e182cd0e9cba9..20cadc88a870dc 100644 --- a/packages/block-library/src/group/block.json +++ b/packages/block-library/src/group/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/group", "title": "Group", diff --git a/packages/block-library/src/heading/block.json b/packages/block-library/src/heading/block.json index c35c20e8f514a4..744eb2874624f2 100644 --- a/packages/block-library/src/heading/block.json +++ b/packages/block-library/src/heading/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/heading", "title": "Heading", diff --git a/packages/block-library/src/home-link/block.json b/packages/block-library/src/home-link/block.json index 42cea69c7aaf7f..8edb347cae4eda 100644 --- a/packages/block-library/src/home-link/block.json +++ b/packages/block-library/src/home-link/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/home-link", "category": "design", diff --git a/packages/block-library/src/html/block.json b/packages/block-library/src/html/block.json index 962db3f3684d3b..34c4e51d3adda2 100644 --- a/packages/block-library/src/html/block.json +++ b/packages/block-library/src/html/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/html", "title": "Custom HTML", diff --git a/packages/block-library/src/image/block.json b/packages/block-library/src/image/block.json index 7aced7d40505e1..bd1448213b91ef 100644 --- a/packages/block-library/src/image/block.json +++ b/packages/block-library/src/image/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/image", "title": "Image", diff --git a/packages/block-library/src/latest-comments/block.json b/packages/block-library/src/latest-comments/block.json index fa5aace648fef0..a9016390248395 100644 --- a/packages/block-library/src/latest-comments/block.json +++ b/packages/block-library/src/latest-comments/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/latest-comments", "title": "Latest Comments", diff --git a/packages/block-library/src/latest-posts/block.json b/packages/block-library/src/latest-posts/block.json index dfc69621f5e238..50edc458fe8e2c 100644 --- a/packages/block-library/src/latest-posts/block.json +++ b/packages/block-library/src/latest-posts/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/latest-posts", "title": "Latest Posts", diff --git a/packages/block-library/src/list/block.json b/packages/block-library/src/list/block.json index 8fb02a021c6cd4..dd0ab96bcb167e 100644 --- a/packages/block-library/src/list/block.json +++ b/packages/block-library/src/list/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/list", "title": "List", diff --git a/packages/block-library/src/loginout/block.json b/packages/block-library/src/loginout/block.json index fa4dd5883c5079..18ddb20d5c7426 100644 --- a/packages/block-library/src/loginout/block.json +++ b/packages/block-library/src/loginout/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/loginout", "title": "Login/out", diff --git a/packages/block-library/src/media-text/block.json b/packages/block-library/src/media-text/block.json index 02f2c29430e60b..c6678607b75797 100644 --- a/packages/block-library/src/media-text/block.json +++ b/packages/block-library/src/media-text/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/media-text", "title": "Media & Text", diff --git a/packages/block-library/src/missing/block.json b/packages/block-library/src/missing/block.json index 21212b20409c4b..cc5ea63da755c4 100644 --- a/packages/block-library/src/missing/block.json +++ b/packages/block-library/src/missing/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/missing", "title": "Unsupported", diff --git a/packages/block-library/src/more/block.json b/packages/block-library/src/more/block.json index 8b839c806a526f..c1faea12ac460e 100644 --- a/packages/block-library/src/more/block.json +++ b/packages/block-library/src/more/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/more", "title": "More", diff --git a/packages/block-library/src/navigation-link/block.json b/packages/block-library/src/navigation-link/block.json index eac8af0cdec69d..7074af6b5999ad 100644 --- a/packages/block-library/src/navigation-link/block.json +++ b/packages/block-library/src/navigation-link/block.json @@ -1,11 +1,10 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/navigation-link", "title": "Custom Link", "category": "design", - "parent": [ - "core/navigation" - ], + "parent": [ "core/navigation" ], "description": "Add a page, link, or another item to your navigation.", "textdomain": "default", "attributes": { diff --git a/packages/block-library/src/navigation-submenu/block.json b/packages/block-library/src/navigation-submenu/block.json index db0791485a8cbd..23b2f607e9d914 100644 --- a/packages/block-library/src/navigation-submenu/block.json +++ b/packages/block-library/src/navigation-submenu/block.json @@ -1,11 +1,10 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/navigation-submenu", "title": "Submenu", "category": "design", - "parent": [ - "core/navigation" - ], + "parent": [ "core/navigation" ], "description": "Add a submenu to your navigation.", "textdomain": "default", "attributes": { diff --git a/packages/block-library/src/navigation/block.json b/packages/block-library/src/navigation/block.json index bb447f9654c0c7..709b9f350278eb 100644 --- a/packages/block-library/src/navigation/block.json +++ b/packages/block-library/src/navigation/block.json @@ -1,14 +1,11 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/navigation", "title": "Navigation", "category": "theme", "description": "A collection of blocks that allow visitors to get around your site.", - "keywords": [ - "menu", - "navigation", - "links" - ], + "keywords": [ "menu", "navigation", "links" ], "textdomain": "default", "attributes": { "orientation": { @@ -81,10 +78,7 @@ "orientation": "orientation" }, "supports": { - "align": [ - "wide", - "full" - ], + "align": [ "wide", "full" ], "anchor": true, "html": false, "inserter": true, @@ -99,13 +93,7 @@ }, "spacing": { "blockGap": true, - "units": [ - "px", - "em", - "rem", - "vh", - "vw" - ], + "units": [ "px", "em", "rem", "vh", "vw" ], "__experimentalDefaultControls": { "blockGap": true } diff --git a/packages/block-library/src/nextpage/block.json b/packages/block-library/src/nextpage/block.json index 2314c322b1a8b3..d6ae44dd83cd7e 100644 --- a/packages/block-library/src/nextpage/block.json +++ b/packages/block-library/src/nextpage/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/nextpage", "title": "Page Break", diff --git a/packages/block-library/src/page-list/block.json b/packages/block-library/src/page-list/block.json index a16a0b0abeb0fa..9b4a80c0af6fa2 100644 --- a/packages/block-library/src/page-list/block.json +++ b/packages/block-library/src/page-list/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/page-list", "title": "Page List", @@ -37,7 +38,7 @@ "showSubmenuIcon": { "type": "boolean" }, - "openSubmenusOnClick" : { + "openSubmenusOnClick": { "type": "boolean" } }, diff --git a/packages/block-library/src/paragraph/block.json b/packages/block-library/src/paragraph/block.json index d024ee2a8fce15..21be4384ba01d8 100644 --- a/packages/block-library/src/paragraph/block.json +++ b/packages/block-library/src/paragraph/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/paragraph", "title": "Paragraph", diff --git a/packages/block-library/src/post-author/block.json b/packages/block-library/src/post-author/block.json index 4839069ed4a1bc..ff9a9bb16ebbc8 100644 --- a/packages/block-library/src/post-author/block.json +++ b/packages/block-library/src/post-author/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-author", "title": "Post Author", diff --git a/packages/block-library/src/post-comment-author/block.json b/packages/block-library/src/post-comment-author/block.json index 7faa0b7ad9f2aa..03e4614051006a 100644 --- a/packages/block-library/src/post-comment-author/block.json +++ b/packages/block-library/src/post-comment-author/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-comment-author", "title": "Post Comment Author", diff --git a/packages/block-library/src/post-comment-content/block.json b/packages/block-library/src/post-comment-content/block.json index 551780a3a4ac16..6b1775b160bc0e 100644 --- a/packages/block-library/src/post-comment-content/block.json +++ b/packages/block-library/src/post-comment-content/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-comment-content", "title": "Post Comment Content", diff --git a/packages/block-library/src/post-comment-date/block.json b/packages/block-library/src/post-comment-date/block.json index c162fbf901ff4b..9a2fc80b84f380 100644 --- a/packages/block-library/src/post-comment-date/block.json +++ b/packages/block-library/src/post-comment-date/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-comment-date", "title": "Post Comment Date", diff --git a/packages/block-library/src/post-comment/block.json b/packages/block-library/src/post-comment/block.json index 695b56df4288bd..731c66ccaee36a 100644 --- a/packages/block-library/src/post-comment/block.json +++ b/packages/block-library/src/post-comment/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-comment", "title": "Post Comment", diff --git a/packages/block-library/src/post-comments-count/block.json b/packages/block-library/src/post-comments-count/block.json index 7aded93b0fad06..445aabf7655b22 100644 --- a/packages/block-library/src/post-comments-count/block.json +++ b/packages/block-library/src/post-comments-count/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-comments-count", "title": "Post Comments Count", diff --git a/packages/block-library/src/post-comments-form/block.json b/packages/block-library/src/post-comments-form/block.json index 53ad6a1d42956d..32109172a3fec6 100644 --- a/packages/block-library/src/post-comments-form/block.json +++ b/packages/block-library/src/post-comments-form/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-comments-form", "title": "Post Comments Form", @@ -22,5 +23,9 @@ "lineHeight": true } }, - "style": [ "wp-block-post-comments-form", "wp-block-buttons", "wp-block-button" ] + "style": [ + "wp-block-post-comments-form", + "wp-block-buttons", + "wp-block-button" + ] } diff --git a/packages/block-library/src/post-comments-link/block.json b/packages/block-library/src/post-comments-link/block.json index b1b82647251822..e7b065663903fe 100644 --- a/packages/block-library/src/post-comments-link/block.json +++ b/packages/block-library/src/post-comments-link/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-comments-link", "title": "Post Comments Link", diff --git a/packages/block-library/src/post-comments/block.json b/packages/block-library/src/post-comments/block.json index 733c64c67189f8..968b8c8d379b84 100644 --- a/packages/block-library/src/post-comments/block.json +++ b/packages/block-library/src/post-comments/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-comments", "title": "Post Comments", diff --git a/packages/block-library/src/post-content/block.json b/packages/block-library/src/post-content/block.json index b8dc5feb15b35a..0526c484d269e9 100644 --- a/packages/block-library/src/post-content/block.json +++ b/packages/block-library/src/post-content/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-content", "title": "Post Content", diff --git a/packages/block-library/src/post-date/block.json b/packages/block-library/src/post-date/block.json index 390ef39a699aff..51f9390ae4956c 100644 --- a/packages/block-library/src/post-date/block.json +++ b/packages/block-library/src/post-date/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-date", "title": "Post Date", diff --git a/packages/block-library/src/post-excerpt/block.json b/packages/block-library/src/post-excerpt/block.json index a066c4250a88ca..72ad5974a33c3f 100644 --- a/packages/block-library/src/post-excerpt/block.json +++ b/packages/block-library/src/post-excerpt/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-excerpt", "title": "Post Excerpt", diff --git a/packages/block-library/src/post-featured-image/block.json b/packages/block-library/src/post-featured-image/block.json index 49116ef908199a..a711eaf1070c24 100644 --- a/packages/block-library/src/post-featured-image/block.json +++ b/packages/block-library/src/post-featured-image/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-featured-image", "title": "Post Featured Image", diff --git a/packages/block-library/src/post-navigation-link/block.json b/packages/block-library/src/post-navigation-link/block.json index 2adf660f7df4ea..0bda4a5f3219ed 100644 --- a/packages/block-library/src/post-navigation-link/block.json +++ b/packages/block-library/src/post-navigation-link/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-navigation-link", "title": "Post Navigation Link", diff --git a/packages/block-library/src/post-template/block.json b/packages/block-library/src/post-template/block.json index 2e0959d04b35aa..d460296efcf597 100644 --- a/packages/block-library/src/post-template/block.json +++ b/packages/block-library/src/post-template/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-template", "title": "Post Template", diff --git a/packages/block-library/src/post-terms/block.json b/packages/block-library/src/post-terms/block.json index 660dada007884e..855a8352c7f4f5 100644 --- a/packages/block-library/src/post-terms/block.json +++ b/packages/block-library/src/post-terms/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-terms", "title": "Post Terms", diff --git a/packages/block-library/src/post-title/block.json b/packages/block-library/src/post-title/block.json index c9bfc1ce38f300..78655afe34b42a 100644 --- a/packages/block-library/src/post-title/block.json +++ b/packages/block-library/src/post-title/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/post-title", "title": "Post Title", diff --git a/packages/block-library/src/preformatted/block.json b/packages/block-library/src/preformatted/block.json index 6deb40540b6c0a..a1e781a3fc8fcf 100644 --- a/packages/block-library/src/preformatted/block.json +++ b/packages/block-library/src/preformatted/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/preformatted", "title": "Preformatted", diff --git a/packages/block-library/src/pullquote/block.json b/packages/block-library/src/pullquote/block.json index ad0288f878e674..8f36dfc2dea6e5 100644 --- a/packages/block-library/src/pullquote/block.json +++ b/packages/block-library/src/pullquote/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/pullquote", "title": "Pullquote", diff --git a/packages/block-library/src/query-pagination-next/block.json b/packages/block-library/src/query-pagination-next/block.json index f7d48504132220..bdde116f98aaa7 100644 --- a/packages/block-library/src/query-pagination-next/block.json +++ b/packages/block-library/src/query-pagination-next/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/query-pagination-next", "title": "Query Pagination Next", diff --git a/packages/block-library/src/query-pagination-numbers/block.json b/packages/block-library/src/query-pagination-numbers/block.json index d9142de147f84a..f74ca7657ef645 100644 --- a/packages/block-library/src/query-pagination-numbers/block.json +++ b/packages/block-library/src/query-pagination-numbers/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/query-pagination-numbers", "title": "Query Pagination Numbers", diff --git a/packages/block-library/src/query-pagination-previous/block.json b/packages/block-library/src/query-pagination-previous/block.json index c3a05cc202d30e..8a5ba81c098c22 100644 --- a/packages/block-library/src/query-pagination-previous/block.json +++ b/packages/block-library/src/query-pagination-previous/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/query-pagination-previous", "title": "Query Pagination Previous", diff --git a/packages/block-library/src/query-pagination/block.json b/packages/block-library/src/query-pagination/block.json index b3a169627edc2d..08e4f5543279b4 100644 --- a/packages/block-library/src/query-pagination/block.json +++ b/packages/block-library/src/query-pagination/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/query-pagination", "title": "Query Pagination", diff --git a/packages/block-library/src/query-title/block.json b/packages/block-library/src/query-title/block.json index 352280417c9909..353870013f09cd 100644 --- a/packages/block-library/src/query-title/block.json +++ b/packages/block-library/src/query-title/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/query-title", "title": "Query Title", diff --git a/packages/block-library/src/query/block.json b/packages/block-library/src/query/block.json index f7e74cf3c33298..ec03c0a5cefc33 100644 --- a/packages/block-library/src/query/block.json +++ b/packages/block-library/src/query/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/query", "title": "Query Loop", diff --git a/packages/block-library/src/quote/block.json b/packages/block-library/src/quote/block.json index 6a9ed9a5400d53..c5f0461237269e 100644 --- a/packages/block-library/src/quote/block.json +++ b/packages/block-library/src/quote/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/quote", "title": "Quote", diff --git a/packages/block-library/src/rss/block.json b/packages/block-library/src/rss/block.json index eeebfaaa4eb51a..50b0915bb920d0 100644 --- a/packages/block-library/src/rss/block.json +++ b/packages/block-library/src/rss/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/rss", "title": "RSS", diff --git a/packages/block-library/src/search/block.json b/packages/block-library/src/search/block.json index d2b3e08e946cb2..78e4c74c3149ec 100644 --- a/packages/block-library/src/search/block.json +++ b/packages/block-library/src/search/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/search", "title": "Search", diff --git a/packages/block-library/src/separator/block.json b/packages/block-library/src/separator/block.json index 784146a733fbde..7d64f4078ce257 100644 --- a/packages/block-library/src/separator/block.json +++ b/packages/block-library/src/separator/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/separator", "title": "Separator", diff --git a/packages/block-library/src/shortcode/block.json b/packages/block-library/src/shortcode/block.json index 5def641768bbdd..adc85721913bf2 100644 --- a/packages/block-library/src/shortcode/block.json +++ b/packages/block-library/src/shortcode/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/shortcode", "title": "Shortcode", diff --git a/packages/block-library/src/site-logo/block.json b/packages/block-library/src/site-logo/block.json index 2bbe4dd29ccb58..5a0ad0ad0fe6b4 100644 --- a/packages/block-library/src/site-logo/block.json +++ b/packages/block-library/src/site-logo/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/site-logo", "title": "Site Logo", diff --git a/packages/block-library/src/site-tagline/block.json b/packages/block-library/src/site-tagline/block.json index 3f93904d297d43..1e6b112986c0b9 100644 --- a/packages/block-library/src/site-tagline/block.json +++ b/packages/block-library/src/site-tagline/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/site-tagline", "title": "Site Tagline", diff --git a/packages/block-library/src/site-title/block.json b/packages/block-library/src/site-title/block.json index 4d4afc75afa98a..567f5d257f4c06 100644 --- a/packages/block-library/src/site-title/block.json +++ b/packages/block-library/src/site-title/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/site-title", "title": "Site Title", diff --git a/packages/block-library/src/social-link/block.json b/packages/block-library/src/social-link/block.json index a477d3e413072a..fbf1e8385a225e 100644 --- a/packages/block-library/src/social-link/block.json +++ b/packages/block-library/src/social-link/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/social-link", "title": "Social Icon", diff --git a/packages/block-library/src/social-links/block.json b/packages/block-library/src/social-links/block.json index 091b7ba6148fbb..d8741c84185f7c 100644 --- a/packages/block-library/src/social-links/block.json +++ b/packages/block-library/src/social-links/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/social-links", "title": "Social Icons", @@ -52,13 +53,7 @@ "spacing": { "blockGap": true, "margin": [ "top", "bottom" ], - "units": [ - "px", - "em", - "rem", - "vh", - "vw" - ], + "units": [ "px", "em", "rem", "vh", "vw" ], "__experimentalDefaultControls": { "blockGap": true } diff --git a/packages/block-library/src/spacer/block.json b/packages/block-library/src/spacer/block.json index b85de6e4ab6305..d7e58cae061dd5 100644 --- a/packages/block-library/src/spacer/block.json +++ b/packages/block-library/src/spacer/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/spacer", "title": "Spacer", diff --git a/packages/block-library/src/table-of-contents/block.json b/packages/block-library/src/table-of-contents/block.json index d99791b085af33..751c6ed8bc6fe0 100644 --- a/packages/block-library/src/table-of-contents/block.json +++ b/packages/block-library/src/table-of-contents/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/table-of-contents", "title": "Table of Contents", diff --git a/packages/block-library/src/table/block.json b/packages/block-library/src/table/block.json index f4723331098bc9..f2b631646db8b0 100644 --- a/packages/block-library/src/table/block.json +++ b/packages/block-library/src/table/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/table", "title": "Table", diff --git a/packages/block-library/src/tag-cloud/block.json b/packages/block-library/src/tag-cloud/block.json index dad4dfdd403651..1c433c38142a8b 100644 --- a/packages/block-library/src/tag-cloud/block.json +++ b/packages/block-library/src/tag-cloud/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/tag-cloud", "title": "Tag Cloud", diff --git a/packages/block-library/src/template-part/block.json b/packages/block-library/src/template-part/block.json index 7e85b0f6aa8bd0..c7da8c84965fbc 100644 --- a/packages/block-library/src/template-part/block.json +++ b/packages/block-library/src/template-part/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/template-part", "title": "Template Part", diff --git a/packages/block-library/src/term-description/block.json b/packages/block-library/src/term-description/block.json index 1f2da2be430574..a21f5bdea7a7ab 100644 --- a/packages/block-library/src/term-description/block.json +++ b/packages/block-library/src/term-description/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/term-description", "title": "Term Description", diff --git a/packages/block-library/src/text-columns/block.json b/packages/block-library/src/text-columns/block.json index ae6598f581cef4..9f9f7cb28f3b01 100644 --- a/packages/block-library/src/text-columns/block.json +++ b/packages/block-library/src/text-columns/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/text-columns", "title": "Text Columns (deprecated)", diff --git a/packages/block-library/src/verse/block.json b/packages/block-library/src/verse/block.json index ec080e7c1ed13c..e494504e64f27a 100644 --- a/packages/block-library/src/verse/block.json +++ b/packages/block-library/src/verse/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/verse", "title": "Verse", diff --git a/packages/block-library/src/video/block.json b/packages/block-library/src/video/block.json index 06df163e94143a..8bd8a31226d603 100644 --- a/packages/block-library/src/video/block.json +++ b/packages/block-library/src/video/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/block.json", "apiVersion": 2, "name": "core/video", "title": "Video",