Make WordPress Core


Ignore:
Timestamp:
04/12/2022 03:10:30 PM (3 years ago)
Author:
gziolo
Message:

Editor: Update WordPress packages based based on Gutenberg v13.0 RC3

This is the last step of backports from the Gutenberg plugin for WordPress 6.0 Beta 1 release. It includes all updates WordPress packages published to npm based on the Gutenberg plugin v13.0 RC3 release. This patch also includes all the necessary changes applied to core blocks. New blocks included:

  • Avatar
  • Comment Author Name
  • Comment Content
  • Comment Date
  • Comment Edit Link
  • Comment Rely Link
  • Comment Template
  • Comments Pagination
  • Comments Pagination Next
  • Comments Pagination Previous
  • Comments Query Loop
  • Home Link
  • Post Author Biography
  • Query No Results
  • Read More

See more details in https://github.com/WordPress/wordpress-develop/pull/2564.

Props zieladam, ramonopoly, ocean90.
Fixes #55505.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/navigation/block.json

    r52595 r53157  
    11{
     2    "$schema": "https://schemas.wp.org/trunk/block.json",
    23    "apiVersion": 2,
    34    "name": "core/navigation",
     
    56    "category": "theme",
    67    "description": "A collection of blocks that allow visitors to get around your site.",
    7     "keywords": [
    8         "menu",
    9         "navigation",
    10         "links"
    11     ],
     8    "keywords": [ "menu", "navigation", "links" ],
    129    "textdomain": "default",
    1310    "attributes": {
     
    4542            "default": "mobile"
    4643        },
     44        "hasIcon": {
     45            "type": "boolean",
     46            "default": true
     47        },
    4748        "__unstableLocation": {
    4849            "type": "string"
     
    5960        "customOverlayTextColor": {
    6061            "type": "string"
     62        },
     63        "maxNestingLevel": {
     64            "type": "number",
     65            "default": 5
    6166        }
    6267    },
     
    7681        "openSubmenusOnClick": "openSubmenusOnClick",
    7782        "style": "style",
    78         "orientation": "orientation"
     83        "orientation": "orientation",
     84        "maxNestingLevel": "maxNestingLevel"
    7985    },
    8086    "supports": {
    81         "align": [
    82             "wide",
    83             "full"
    84         ],
     87        "align": [ "wide", "full" ],
    8588        "anchor": true,
    8689        "html": false,
     
    9396            "__experimentalTextTransform": true,
    9497            "__experimentalFontFamily": true,
     98            "__experimentalTextDecoration": true,
     99            "__experimentalSkipSerialization": [ "textDecoration" ],
    95100            "__experimentalDefaultControls": {
    96101                "fontSize": true
     
    98103        },
    99104        "spacing": {
    100             "units": [ "px", "em", "rem", "vh", "vw" ]
     105            "blockGap": true,
     106            "units": [ "px", "em", "rem", "vh", "vw" ],
     107            "__experimentalDefaultControls": {
     108                "blockGap": true
     109            }
    101110        },
    102111        "__experimentalLayout": {
    103112            "allowSwitching": false,
    104113            "allowInheriting": false,
     114            "allowVerticalAlignment": false,
    105115            "default": {
    106116                "type": "flex"
Note: See TracChangeset for help on using the changeset viewer.