[wp-trac] [WordPress Trac] #53604: Excerpt block doesn't handle innerBlocks for groups and nested columns (was: Excerpt block doesn't render group block innerBlocks)

WordPress Trac noreply at wordpress.org
Tue Jul 6 11:33:43 UTC 2021


#53604: Excerpt block doesn't handle innerBlocks for groups and nested columns
--------------------------+------------------------------
 Reporter:  aristath      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by aristath):

 * keywords:   => has-patch


Old description:

> See https://github.com/WordPress/gutenberg/issues/33154 for details.
>
> When a post contains a group block, the excerpt is empty.

New description:

 See https://github.com/WordPress/gutenberg/issues/33154 for details.

 When generating a post excerpt, we run the content through
 `excerpt_remove_blocks`. That function doesn't currently handle
 `innerBlocks` for groups properly, as well as deeply-nested columns,
 resulting in empty excerpts.

--

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


More information about the wp-trac mailing list