[ Latest posts ] Post content overflows block space when first word is very long #15721
Labels
[Block] Latest Posts
Affects the Latest Posts Block
[Type] Enhancement
A suggestion for improvement.
Describe the bug
The
Latest posts
block has a new feature (#14627 and #15453) to show post content. In theExcerpt
mode, if the first word is very long, it overflows the available block space.Steps to reproduce
Latest posts
block.Excerpt
mode and limit to a certain number of words. Say, 10.testttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
What is expected
The content is within the block, and does not overflow.
What happens instead
The content overflows the available block space.
Notes
This is because the block settings limits the content to "10 words". One solution to this would be to modify the setting to "number of characters" instead of "words".
This happens for the long first word in a column block as well.
Gutenberg, browser and device version:
I am using Gutenberg 5.7.0-rc-1 on a Pressable site, with Google Chrome Version 74.0.3729.131 (Official Build) (64-bit) on macOS 10.14.4 - Mac OS Mojave.
Related issues: #15719
The text was updated successfully, but these errors were encountered: