Opened 6 years ago
Closed 6 years ago
#52427 closed enhancement (duplicate)
Enahnce excerpt_remove_blocks to ignore disallowed inner blocks but not exclude the parent block entirely
| Reported by: | clubduece | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 5.6 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
I agree that certain blocks most likely cannot contribute to an auto-generated excerpt in a meaningful way. However, in the case where a parent block has multiple inner blocks and some of the blocks in the parent could contribute to the excerpt why is the baby thrown out with the bathwater?
I propose enhancing excerpt_remove_blocks to continue parsing the remaining inner blocks of a parent block while ignoring those that are not whitelisted.
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @clubduece and thanks for the ticket!
It seems we are already tracking that issue in #47637. If you have something to add, please comment or contribute there.