WordPress.org

Make WordPress Core

Opened 3 days ago

Last modified 2 days ago

#53382 new defect (bug)

media and text article title option is not compatible with WordPress 5.8 beta 1

Reported by: ugyensupport Owned by:
Milestone: 5.8 Priority: normal
Severity: normal Version: trunk
Component: Editor Keywords: needs-patch
Focuses: css Cc:

Description

Full Site Editing - not giving proper image result as it is when using media and text article title option after saving

  • image size enlarged with WordPress 5.8 beta 1

https://streamable.com/no0wph

Change History (3)

#1 @desrosj
3 days ago

  • Keywords needs-patch added; needs-design removed
  • Milestone changed from Awaiting Review to 5.8

Thanks for this report, @ugyensupport! Moving to the 5.8 milestone for investigation.

#2 @desrosj
3 days ago

  • Component changed from Media to Editor

#3 @sabernhardt
3 days ago

  • Focuses css added

Related: https://github.com/WordPress/gutenberg/issues/23244#issuecomment-686849179

The editor has height: auto for the image that is larger than its container so both dimensions resize. On the live site, however, neither the editor's front-end block styles nor the TT1 Blocks theme supplies that when the width is set to 100%.

(TT1 Blocks does resize the height for images within image blocks, though: .wp-block-image img {height: auto;})

Last edited 2 days ago by sabernhardt (previous) (diff)
Note: See TracTickets for help on using tickets.