Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#53604 closed defect (bug)

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

Reported by: aristath's profile 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
3 years 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.