Make WordPress Core


Ignore:
Timestamp:
02/07/2023 05:59:44 PM (13 months ago)
Author:
davidbaumwald
Message:

Editor: Introduce sticky position block support.

In the Gutenberg plugin, a position block support feature was introduced last year, that allows a Group block to be set to a "sticky" position, meaning that when the page scrolls, the block will stick to the top of the window.

This change merges the "sticky" position feature for blocks introduced in Gutenberg 15.0.

Props andrewserong, flixos90, mukesh27.
Fixes #57618.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r55255 r55285  
    337337require ABSPATH . WPINC . '/block-supports/generated-classname.php';
    338338require ABSPATH . WPINC . '/block-supports/layout.php';
     339require ABSPATH . WPINC . '/block-supports/position.php';
    339340require ABSPATH . WPINC . '/block-supports/spacing.php';
    340341require ABSPATH . WPINC . '/block-supports/typography.php';
Note: See TracChangeset for help on using the changeset viewer.