Make WordPress Core

#62501 closed defect (bug) (duplicate)

Twenty Twenty: Inline Image Displays Correctly in Editor but Moves to Next Line on Frontend

Reported by: pitamdey's profile pitamdey Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-patch has-screenshots
Focuses: css Cc:

Description

In theme Twenty Twenty,
When we add an inline image between the content it shows proper it editor side but it moves to next line in frontend

I have added screenshot for the better understanding

Thank You !

Attachments (3)

Screenshot 2024-11-21 at 6.33.38 PM.png (245.2 KB) - added by pitamdey 13 months ago.
Editor View
Screenshot 2024-11-21 at 6.33.59 PM.png (171.6 KB) - added by pitamdey 13 months ago.
Frontend View
62501.patch (688 bytes) - added by pitamdey 13 months ago.
Patch for this issue

Download all attachments as: .zip

Change History (7)

@pitamdey
13 months ago

Patch for this issue

#1 @im3dabasia1
13 months ago

  • Keywords needs-testing added

#2 @sainathpoojary
13 months ago

Reproduction Report

Description

This report validates whether the issue can be reproduced.

Environment

  • WordPress: 6.8-alpha-59274-src
  • PHP: 8.2.25
  • Server: nginx/1.27.2
  • Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.2.25)
  • Browser: Chrome 131.0.0.0
  • OS: macOS
  • Theme: Twenty Twenty 2.8
  • MU Plugins: None activated
  • Plugins: Test Reports 1.2.0

Actual Results

✅ I was able to reproduce this issue, where an inline image appears correctly in the editor but moves to the next line on the frontend.

Supplemental Artifacts

Image: https://utfs.io/f/PL8E4NiPUWyO232HgDMrbSwhDZXGLqs4KMo8zvf5xlc7yBV1

#3 @sainathpoojary
13 months ago

  • Keywords needs-testing removed

Test Report

Description

This report validates whether the indicated patch works as expected.

Patch tested: https://core.trac.wordpress.org/attachment/ticket/62501/62501.patch

Environment

  • WordPress: 6.8-alpha-59274-src
  • PHP: 8.2.25
  • Server: nginx/1.27.2
  • Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.2.25)
  • Browser: Chrome 131.0.0.0
  • OS: macOS
  • Theme: Twenty Twenty 2.8
  • MU Plugins: None activated
  • Plugins: Test Reports 1.2.0

Actual Results

✅ I tested the provided patch, and it resolved the issue of the inline image shifting to the next line on the frontend

Supplemental Artifacts

After patch:

https://utfs.io/f/PL8E4NiPUWyOFy93cielPjKxSwy47ckIJHQLbgYtoDfNVhmp

#4 @sabernhardt
13 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

We are already tracking this issue on #50418. Please continue the conversation there.

Note: See TracTickets for help on using tickets.