Wordpress/tests/phpunit/tests/blocks
Greg Ziółkowski 910de8f689 Editor: Introduce block context
Backports a new block context feature from Gutenberg. The purpose of this feature is to be able to establish values in a block hierarchy which can be consumed by blocks anywhere lower in the same hierarchy. These values can be established either by the framework, or by other blocks which provide these values. See documentation: https://github.com/WordPress/gutenberg/blob/master/docs/designers-developers/developers/block-api/block-context.md

Props aduth, epiqueras.
Fixes #49927.



git-svn-id: https://develop.svn.wordpress.org/trunk@48224 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-30 11:02:22 +00:00
..
fixtures Editor: Introduce new API method that register block from block.json metadata file 2020-06-23 15:43:19 +00:00
block-context.php Editor: Introduce block context 2020-06-30 11:02:22 +00:00
block-list.php Editor: Introduce WP_Block and WP_Block_List classes 2020-06-25 05:14:43 +00:00
block-parser.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:57:26 +00:00
block-type-registry.php Blocks: Introduce WP_Block_Type and WP_Block_Type_Registry classes. 2018-12-13 09:43:29 +00:00
block-type.php Editor: Fix code style for constructor arguments added in [47875]. 2020-06-01 16:25:18 +00:00
block.php Editor: Introduce WP_Block and WP_Block_List classes 2020-06-25 05:14:43 +00:00
register.php Editor: Introduce new API method that register block from block.json metadata file 2020-06-23 15:43:19 +00:00
render-reusable.php Blocks: Add the reusable block post type, wp_block. 2018-12-14 02:14:13 +00:00
render.php Editor: Ensure latest comments can only be viewed from public posts. 2020-06-10 19:18:50 +00:00
serialization.php Editor: Add unit tests for v5.3.1 block serialization functions 2019-12-19 18:48:49 +00:00