Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blog Posts Block should ignore manual excerpt length and respect the block's excerpt length settings #56094

Closed
inaikem opened this issue Sep 8, 2021 · 2 comments
Labels
[Block] Blog Posts Blocks Editor blocks, aka Gutenberg blocks, plugins, and extensions Triaged To be used when issues have been triaged. [Type] Enhancement User Report This issue was created following a WordPress customer report

Comments

@inaikem
Copy link
Contributor

inaikem commented Sep 8, 2021

What

Make the Blog Posts Block ignore any existing manual excerpt length and force the post excerpt to be displayed as per the Block settings.

Why

When a manual excerpt is set, the Blog Posts Block's excerpt length setting is not respected, creating a visually jarring and inconsistent experience.

Example:
 

Markup on 2021-09-08 at 17:54:29

 
The above screenshot shows the excerpt length set to 10 words. When a manual excerpt is set in the lock Editor, the excerpt length will not change regardless of if the excerpt length in the block is set to 10 or 100 words.

How

The excerpt length should change based on the settings selected by the user, even with a manual excerpt is set in the Block Editor.

We could do this by adjusting the length of the manual excerpt or by overriding it completely and taking the first block of text from the page.

The latter will be undesirable for users who have hand-crafted excerpts created for SEO or related purposes.

@inaikem inaikem added [Type] Enhancement Blocks Editor blocks, aka Gutenberg blocks, plugins, and extensions User Report This issue was created following a WordPress customer report [Block] Blog Posts labels Sep 8, 2021
@zdenys
Copy link
Contributor

zdenys commented Sep 10, 2021

I think it's a duplicate of #51415 Isn't it?

@synora synora added the Triaged To be used when issues have been triaged. label Sep 15, 2021
@synora
Copy link
Contributor

synora commented Sep 15, 2021

@inaikem this issue seems like a duplicate of #51415. Your experience matches what's going on in the other issue, which I'm also able to replicate. I'll close this one for now but feel free to open it back up.

@synora synora closed this as completed Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Blog Posts Blocks Editor blocks, aka Gutenberg blocks, plugins, and extensions Triaged To be used when issues have been triaged. [Type] Enhancement User Report This issue was created following a WordPress customer report
Projects
None yet
Development

No branches or pull requests

3 participants