[wp-trac] [WordPress Trac] #50443: Heading h2 rest api level
WordPress Trac
noreply at wordpress.org
Mon Jun 22 03:06:20 UTC 2020
#50443: Heading h2 rest api level
-------------------------------+------------------------------
Reporter: zavod008 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 5.4.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: rest-api
-------------------------------+------------------------------
Comment (by zavod008):
Yes, I’m doing a custom api, and for vue, I need to output the text of the
article in json format, I knew that there is a parse_blocks function that
turns gutenberg blocks into json format.
{{{
parse_blocks($post->post_content)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50443#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list