Make WordPress Core


Ignore:
Timestamp:
05/19/2021 03:07:55 PM (5 years ago)
Author:
gziolo
Message:

Editor: Update WordPress packages published for Gutenberg 10.6

It contains several changes in addition to regular update to WordPress packages:

  • All newly exposed blocks are now registered on the server.
  • Dutone block support was added.
  • Border block support was updated.
  • New shared function construct_wp_query_args was added for the family of Query blocks - it might need some further work.

Props youknowriad.
See #52991.

File:
1 edited

Legend:

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

    r50824 r50929  
    22        "apiVersion": 2,
    33        "name": "core/heading",
     4        "title": "Heading",
    45        "category": "text",
     6        "description": "Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",
     7        "keywords": [ "title", "subtitle" ],
     8        "textdomain": "default",
    59        "attributes": {
    610                "textAlign": {
    … …  
    3135                "fontSize": true,
    3236                "lineHeight": true,
    33                 "__experimentalSelector": {
    34                         "core/heading/h1": {
    35                                 "selector": "h1",
    36                                 "title": "h1",
    37                                 "attributes": {
    38                                         "level": 1
    39                                 }
    40                         },
    41                         "core/heading/h2": {
    42                                 "selector": "h2",
    43                                 "title": "h2",
    44                                 "attributes": {
    45                                         "level": 2
    46                                 }
    47                         },
    48                         "core/heading/h3": {
    49                                 "selector": "h3",
    50                                 "title": "h3",
    51                                 "attributes": {
    52                                         "level": 3
    53                                 }
    54                         },
    55                         "core/heading/h4": {
    56                                 "selector": "h4",
    57                                 "title": "h4",
    58                                 "attributes": {
    59                                         "level": 4
    60                                 }
    61                         },
    62                         "core/heading/h5": {
    63                                 "selector": "h5",
    64                                 "title": "h5",
    65                                 "attributes": {
    66                                         "level": 5
    67                                 }
    68                         },
    69                         "core/heading/h6": {
    70                                 "selector": "h6",
    71                                 "title": "h6",
    72                                 "attributes": {
    73                                         "level": 6
    74                                 }
    75                         }
    76                 },
     37                "__experimentalSelector": "h1,h2,h3,h4,h5,h6",
    7738                "__unstablePasteTextInline": true
    7839        },
Note: See TracChangeset for help on using the changeset viewer.