WordPress.org

Make WordPress Core

Opened 3 weeks ago

Last modified 2 weeks ago

#50418 new defect (bug)

Twenty Twenty: Inline Images displaying as block

Reported by: mrfoxtalbot Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.4.2
Component: Bundled Theme Keywords: has-patch needs-testing
Focuses: Cc:

Description

Inline images (those added inside a paragraph block) will display on top of each other (as blocks) instead of next to each other (inline or inline-block).

https://d.pr/i/13DtBl

This will not happen in the editor, only on the public page/post:

https://d.pr/i/vkV9vC

I tried to reproduce this with several themes such as Rockwell, Brandsbury and Coutoire, but they all seem to work fine.

Attachments (3)

inline_images_Twenty_Twenty_bug_Screen Shot 2020-06-18 at 01.32.40.png (40.6 KB) - added by mrfoxtalbot 3 weeks ago.
Inline Images displaying as block on TwentyTwenty
inline_images_Twenty_Twenty_bug_Screen Shot 2020-06-18 at 01.31.46.png (34.9 KB) - added by mrfoxtalbot 3 weeks ago.
Inline Images displaying inline in the editor
50418.diff (373 bytes) - added by thimalw 2 weeks ago.
Set display: inline-block for images inside paragraphs

Download all attachments as: .zip

Change History (6)

@mrfoxtalbot
3 weeks ago

Inline Images displaying as block on TwentyTwenty

@mrfoxtalbot
3 weeks ago

Inline Images displaying inline in the editor

#1 @SergeyBiryukov
2 weeks ago

  • Component changed from Themes to Bundled Theme
  • Summary changed from Inline Images displaying as block on TwentyTwenty to Twenty Twenty: Inline Images displaying as block

@thimalw
2 weeks ago

Set display: inline-block for images inside paragraphs

#2 @thimalw
2 weeks ago

My first time submitting a patch. Please let me know if I've done anything wrong.

#3 @thimalw
2 weeks ago

  • Keywords has-patch needs-testing added
Note: See TracTickets for help on using tickets.