wordpress-develop/tests/phpunit/data/blocks/notice
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
..
block-rtl.css Blocks: Add automatic RTL handlind for block styles registered from metadata 2021-01-19 11:48:59 +00:00
block.asset.php
block.css
block.js
block.json Editor: Add selectors field to block type definition 2023-04-21 10:41:58 +00:00
render.php Blocks: Add new render property in block.json for block types 2022-09-12 13:12:21 +00:00