WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#53604 closed defect (bug)

Excerpt block doesn't handle innerBlocks for groups and nested columns — at Version 1

Reported by: aristath Owned by:
Milestone: 5.8 Priority: normal
Severity: normal Version: 5.8
Component: Posts, Post Types Keywords: has-patch has-unit-tests commit fixed-major dev-reviewed
Focuses: Cc:

Description (last modified by aristath)

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.

Change History (1)

#1 @aristath
5 months ago

  • Description modified (diff)
  • Keywords has-patch added
  • Summary changed from Excerpt block doesn't render group block innerBlocks to Excerpt block doesn't handle innerBlocks for groups and nested columns
Note: See TracTickets for help on using tickets.