[wp-trac] [WordPress Trac] #45109: Introduce editor block related functions

WordPress Trac noreply at wordpress.org
Thu Dec 13 17:40:03 UTC 2018


#45109: Introduce editor block related functions
----------------------------+-----------------------
 Reporter:  desrosj         |       Owner:  pento
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  5.0
Component:  Editor          |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  fixed-5.0       |     Focuses:
----------------------------+-----------------------

Comment (by desrosj):

 In [changeset:"44116" 44116]:
 {{{
 #!CommitTicketReference repository="" revision="44116"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45109#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list