themes icon indicating copy to clipboard operation
themes copied to clipboard

Verse block: theme compatibility issue - text cut off

Open xpurichan opened this issue 5 years ago • 9 comments

Summary

Adding "long" lines text inside of the Verse block can cause the text to run off of the block and it won't be shown. This seems to be based on the theme and how much width it allows for the main content column.

In this example we can see text being cut off in a Verse block within a page of the photo-blog theme:

Screen Shot 2019-08-20 at 5 15 06 PM

Other themes like Spatial which have wider content areas function fine with this same length of text:

Screen Shot 2019-08-20 at 5 19 00 PM

However, if I were to double the length of the longest line of text here then it would again be cut off.

What I expected

Text shouldn't be cut off in a way that make it impossible to view. Text should run on to a new line as needed.

What happened instead

Text is cut off and impossible to read on some themes with narrow content areas.

Context / Source

#user-report in 2288979-zen

xpurichan avatar Aug 20 '19 22:08 xpurichan

Another report in 18436954-hc

I suggested to change the Verse block to Paragraph block, and select Inline Code formatting to make the Paragraph block look like a verse.

happychait avatar Feb 19 '20 00:02 happychait

2738011-zen

Looks to be the same case in Twenty Twenty theme as well.

edwinho89 avatar Feb 24 '20 03:02 edwinho89

23013898-hc

edwinho89 avatar Aug 14 '20 02:08 edwinho89

Another report here where the Verse block is failing to wrap the text on mobile browsers: 3601052-zen

I was able to replicate using both Independent Publisher 2 and Twenty Twenty.

thabotswana avatar Dec 28 '20 15:12 thabotswana

@jeffikus hi! this seems like a theme issue, could you help triage this?

simison avatar Mar 01 '21 17:03 simison

@simison if this is a theme issue, can you please report it in https://github.com/Automattic/themes/issues/new

jeffikus avatar May 20 '21 12:05 jeffikus

Another report here where the Verse block is breaking the first letter in browsers 4118581-zen

poojashetty18 avatar Jul 06 '21 05:07 poojashetty18

Core bug filed for this issue https://github.com/WordPress/gutenberg/issues/44924

kavyagokul avatar Oct 13 '22 10:10 kavyagokul

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 2288979-zen
  • [ ] 2738011-zen
  • [ ] 3601052-zen
  • [ ] 4118581-zen

github-actions[bot] avatar Oct 13 '22 10:10 github-actions[bot]