Wordpress/tests/phpunit/data/blocks
Jonathan Desrosiers f8c9698722 Blocks: Introduce the block parser.
The `WP_Block_Parser` class, and the accompanying `parse_blocks()` helper function, can be used to parse an array of blocks out of a content string.

`WP_Block_Parser` is copied from the `@wordpress/block-serialization-default-parser` package. To ensure it stays in sync with the JavaScript parser, changes should be implemented in the package first, then the package version should be upgraded to include the changes.

Props pento.

Merges [43751] to trunk.

See #45109.

git-svn-id: https://develop.svn.wordpress.org/trunk@44116 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-13 17:39:59 +00:00
..
fixtures Blocks: Introduce the block parser. 2018-12-13 17:39:59 +00:00
do-blocks-expected.html Blocks: Introduce register_block_type(), unregister_block_type(), and get_dynamic_blocks() functions. 2018-12-13 09:53: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