[wp-trac] [WordPress Trac] #51819: use_block_editor_for_post() not avaialble by front end

WordPress Trac noreply at wordpress.org
Tue May 4 05:59:37 UTC 2021


#51819: use_block_editor_for_post() not avaialble by front end
-------------------------------+------------------------------
 Reporter:  theMikeD           |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by poena):

 * keywords:   => reporter-feedback


Comment:

 Hi
 This issue was discussed during a triage session today.
 Can you give more details about the use case?
 It was not clear if you are displaying an editor on the front, or if you
 want to know if any post uses blocks.

 To find out if a post contains block you can try
 https://developer.wordpress.org/reference/functions/has_blocks/ or
 https://developer.wordpress.org/reference/functions/parse_blocks/

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


More information about the wp-trac mailing list