wordpress-develop/tests/phpunit/data/blocks
Greg Ziółkowski f047b94d71 Editor: Add selectors field to block type definition
Adds support for the new selectors property for block types. It adds it to the allowed metadata when registering a block type, makes the WP_Block_Type class aware of it, exposes it through the block types REST API, and the get_block_editor_server_block_settings function.

Corresponding work in the Gutenberg plugin: https://github.com/WordPress/gutenberg/pull/46496.

Fixes #57585.
Props aaronrobertshaw, hellofromTonya.



git-svn-id: https://develop.svn.wordpress.org/trunk@55673 602fd350-edb4-49c9-b593-d223f7449a82
2023-04-21 10:41:58 +00:00
..
fixtures Build/Tests Tools: Add unit tests for Gallery blocks. 2023-03-07 05:46:16 +00:00
notice Editor: Add selectors field to block type definition 2023-04-21 10:41:58 +00:00
pattern-directory Editor: Support the block_types and viewport_width props for remote patterns fetched from Pattern Directory. 2023-02-06 19:38:08 +00:00
do-blocks-expected.html Blocks: Parse blocks when displaying posts. 2018-12-13 18:11:10 +00:00
do-blocks-original.html Blocks: Introduce register_block_type(), unregister_block_type(), and get_dynamic_blocks() functions. 2018-12-13 09:53:10 +00:00