Make WordPress Core


Ignore:
Timestamp:
05/23/2024 07:37:08 PM (8 months ago)
Author:
ellatrix
Message:

Editor: Update npm packages.

Updates the editor npm packages to latest versions.

See https://github.com/WordPress/wordpress-develop/pull/6612.

Props ellatrix, mukesh27, youknowriad, mamaduka.

File:
1 edited

Legend:

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

    r57663 r58187  
    303303    'supports' => array(
    304304      'anchor' => true,
     305      'splitting' => true,
    305306      'align' => false,
    306307      'alignWide' => false,
     
    16441645    ),
    16451646    'supports' => array(
     1647      '__experimentalOnEnter' => true,
    16461648      'align' => array(
    16471649        'wide',
     
    22412243      'anchor' => true,
    22422244      'className' => true,
     2245      'splitting' => true,
    22432246      'color' => array(
    22442247        'gradients' => true,
     
    27712774    'supports' => array(
    27722775      'anchor' => true,
    2773       'className' => false,
     2776      'html' => false,
    27742777      'typography' => array(
    27752778        'fontSize' => true,
     
    28022805      ),
    28032806      '__unstablePasteTextInline' => true,
    2804       '__experimentalSelector' => 'ol,ul',
    28052807      '__experimentalOnMerge' => true,
    28062808      '__experimentalSlashInserter' => true,
     
    28392841    'supports' => array(
    28402842      'className' => false,
    2841       '__experimentalSelector' => 'li',
     2843      '__experimentalSelector' => '.wp-block-list > li',
     2844      'splitting' => true,
    28422845      'spacing' => array(
    28432846        'margin' => true,
     
    30143017      'allowedBlocks' => array(
    30153018        'type' => 'array'
    3016       )
     3019      ),
     3020      'useFeaturedImage' => array(
     3021        'type' => 'boolean',
     3022        'default' => false
     3023      )
     3024    ),
     3025    'usesContext' => array(
     3026      'postId',
     3027      'postType'
    30173028    ),
    30183029    'supports' => array(
     
    32803291        )
    32813292      ),
    3282       '__experimentalStyle' => array(
    3283         'elements' => array(
    3284           'link' => array(
    3285             'color' => array(
    3286               'text' => 'inherit'
    3287             )
    3288           )
    3289         )
    3290       ),
    32913293      'interactivity' => true,
    32923294      'renaming' => false
     
    36143616    ),
    36153617    'textdomain' => 'default',
    3616     'usesContext' => array(
    3617       'postId'
    3618     ),
    36193618    'attributes' => array(
    36203619      'align' => array(
     
    36433642    ),
    36443643    'supports' => array(
     3644      'splitting' => true,
    36453645      'anchor' => true,
    36463646      'className' => false,
     
    41864186      ),
    41874187      'color' => array(
    4188         '__experimentalDuotone' => 'img, .wp-block-post-featured-image__placeholder, .components-placeholder__illustration, .components-placeholder::before',
    41894188        'text' => false,
    41904189        'background' => false
     
    41944193        'radius' => true,
    41954194        'width' => true,
    4196         '__experimentalSelector' => 'img, .block-editor-media-placeholder, .wp-block-post-featured-image__overlay',
    41974195        '__experimentalSkipSerialization' => true,
    41984196        '__experimentalDefaultControls' => array(
     
    42024200        )
    42034201      ),
     4202      'filter' => array(
     4203        'duotone' => true
     4204      ),
     4205      'shadow' => array(
     4206        '__experimentalSkipSerialization' => true
     4207      ),
    42044208      'html' => false,
    42054209      'spacing' => array(
     
    42094213      'interactivity' => array(
    42104214        'clientNavigation' => true
     4215      )
     4216    ),
     4217    'selectors' => array(
     4218      'border' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .block-editor-media-placeholder, .wp-block-post-featured-image .wp-block-post-featured-image__overlay',
     4219      'shadow' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .components-placeholder',
     4220      'filter' => array(
     4221        'duotone' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .wp-block-post-featured-image__placeholder, .wp-block-post-featured-image .components-placeholder__illustration, .wp-block-post-featured-image .components-placeholder::before'
    42114222      )
    42124223    ),
     
    50365047        '__experimentalRole' => 'content'
    50375048      ),
    5038       'align' => array(
     5049      'textAlign' => array(
    50395050        'type' => 'string'
    50405051      )
     
    54765487      'textAlign' => array(
    54775488        'type' => 'string'
     5489      ),
     5490      'level' => array(
     5491        'type' => 'number',
     5492        'default' => 0
    54785493      )
    54795494    ),
     
    56015616      'core/social-links'
    56025617    ),
    5603     'description' => 'Display an icon linking to a social media profile or site.',
     5618    'description' => 'Display an icon linking to a social profile or site.',
    56045619    'textdomain' => 'default',
    56055620    'attributes' => array(
     
    56435658      'core/social-link'
    56445659    ),
    5645     'description' => 'Display icons linking to your social media profiles or sites.',
     5660    'description' => 'Display icons linking to your social profiles or sites.',
    56465661    'keywords' => array(
    56475662      'links'
     
    58035818      'hasFixedLayout' => array(
    58045819        'type' => 'boolean',
    5805         'default' => false
     5820        'default' => true
    58065821      ),
    58075822      'caption' => array(
     
    63856400    'apiVersion' => 3,
    63866401    'name' => 'core/widget-group',
     6402    'title' => 'Widget Group',
    63876403    'category' => 'widgets',
    63886404    'attributes' => array(
Note: See TracChangeset for help on using the changeset viewer.