[wp-trac] [WordPress Trac] #45109: Introduce editor block related functions
WordPress Trac
noreply at wordpress.org
Thu Oct 18 04:39:44 UTC 2018
#45109: Introduce editor block related functions
------------------------------------------+-----------------------
Reporter: desrosj | Owner: pento
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 5.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+-----------------------
Comment (by pento):
In [changeset:"43751" 43751]:
{{{
#!CommitTicketReference repository="" revision="43751"
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.
See #45109.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45109#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list